Merged
Conversation
Merge branch 'master' into feature/code-reorg
A large rename so the code follows the new naming
Mostly the same as Enhancements tab in AutoIntegrate.,
Lots of code reorganization for that
- Enhancement option to decrease saturation - Skip ACDNR if using AI noise reduction
It uses predefined mapping in AutoIntegrate.
There are too many stretching options so made stretching sections collapsible.
Use MultiscaleAdaptiveStretch as default if the process is available.
- Support for simple test automation for standalone scripts - Fixes
- A new standalone Gradient Correction script - Removed Veralux script, it is included in Image Stretching script - Fixes - Debug checks
There was a problem hiding this comment.
Pull request overview
This is a major code reorganization PR that introduces standalone tools and improves the AutoIntegrate codebase structure. The changes include creating independent scripts for specific tasks, renaming parameters from "extra" to "enhancements" for clarity, and adding proper include guards throughout the codebase.
Key changes:
- Created 4 new standalone scripts (Narrowband Combinations, Image Stretching, Image Enhancements, Gradient Correction)
- Removed the VeraLux standalone script (now integrated into Image Stretching)
- Major refactoring: renamed "extra" parameters to "enhancements" for better clarity
- Added include guards to prevent multiple inclusions
- Extracted GUI tools and flowchart functionality into separate modules
Reviewed changes
Copilot reviewed 18 out of 21 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| VeraLux_HyperMetric_Stretch.js | Deleted standalone VeraLux script, functionality moved to Image Stretching |
| BasicPreviewControl.js | Deleted custom preview control, using AutoIntegratePreviewControl instead |
| NarrowbandCombinations.js | New standalone script for narrowband palette combinations |
| ImageStretching.js | New standalone script for image stretching operations |
| ImageEnhancements.js | New standalone script for image enhancements |
| GradientCorrection.js | New standalone script for gradient correction |
| AutoIntegrateUtil.js | Enhanced with parameter persistence, logging callbacks, and standalone initialization |
| AutoIntegrateGlobal.js | Major refactoring with "extra" → "enhancements" rename, version bump to 1.82 |
| AutoIntegrateVeraLuxHMS.js | Fixed percentile calculation, improved adaptive anchor, added include guards |
| AutoIntegrateGUITools.js | New file extracted from main GUI code for better modularity |
| AutoIntegrateFlowchart.js | New file extracted flowchart visualization logic |
| AutoIntegrate.js | Updated imports, simplified parameter reading, test infrastructure improvements |
| AutoIntegrateTutorial.js | Copyright year update, added include guards |
| AutoIntegratePreview.js | Added standalone mode support, include guards |
| AutoIntegrateMetricsVisualizer.js | Moved constant definition, added include guards |
| AutoIntegrateLDD.js | Added include guards |
| AutoIntegrateExclusionArea.js | Added include guards |
| AutoIntegrateBanding.js | Added include guards |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull request overview
This is a major code reorganization PR that introduces standalone tools and improves the AutoIntegrate codebase structure. The changes include creating independent scripts for specific tasks, renaming parameters from "extra" to "enhancements" for clarity, and adding proper include guards throughout the codebase.
Key changes: