Repository navigation
One Strength control for Noise Reduction and Sharpen (issue #177) - #290
Merged
StuartCameronCode merged 1 commit intoNov 28, 2026
Merged
Conversation
… task #140) In simple mode every Noise Reduction and Sharpen method has one Strength selector (Light / Medium / Strong / Very strong): a schema parameter preset that hides the controls it sets, with Medium = the existing defaults. The other steps were measured on real footage with added noise (sigma 2-9) and blur (0.5-1.6 px) through the worker itself; the evidence is docs/reports/issue-177-strength-mapping, and strength_presets_test.dart and test_271 pin the schemas to its data/steps.json. - ParameterPreset gains `custom` (shown when the values match no option), `optionDescriptions` and `sinceAppVersion` (NEW badge on the selector, its section, the method dropdown and the pass row). - SMDegrain did nothing at heavy noise: havsfunc's thSCD1=400 makes every noisy frame a scene cut. New smDegrainThSCD1 (default 400, left out of the script at 400); Strong and Very strong set 800 (sigma 9: 29.1 -> 36.8 dB, real cuts still detected). - QTGMC built-in's EZDenoise default 0 did nothing; it is now 5 (Medium). - Schema maximums raised where a step needed it (thSAD 2000, thSADC 1000, EZDenoise 10, LSFmod strength 500); mClean's motion threshold moves into its main section. - fromPreset light/heavy and the built-in presets land on named steps (DV, Low-Light, SD Tape -> HD NR tr 1 -> 2; VHS LSFmod 80/1 -> 50/8; SD -> HD CAS 0.3 -> 0.4). - Noise Reduction panel: an advisory line suggesting a step from the measured noise score, for a source the worker judged noisy. - MCTemporalDenoise's Sigma was found inert: task #141. Co-Authored-By: Claude Opus 5.5 <[email protected]>
StuartCameronCode
force-pushed
the
stuart/140-one-simple-strength-control-for-noise-re
branch
from
November 28, 2026 10:46
17642d3 to
d033b80
Compare
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.
Closes #177.
What changes
In simple mode, each Noise Reduction and Sharpen method now has one Strength selector: Light, Medium, Strong or Very strong. The selector sets the method's real parameters. In simple mode it replaces the controls it sets. Advanced mode hides the selector and shows those controls. When the values match no step (they were edited in Advanced mode), the selector shows Custom.
thSCD1Medium is the existing defaults, so existing output does not change. The one exception is QTGMC built-in: its old default (EZDenoise 0) did nothing, and it is now 5. The other steps were measured on real footage with added noise and blur, in about 2,900 worker runs. The report is
docs/reports/issue-177-strength-mapping/, and itsdata/steps.jsonpins the schemas:strength_presets_test.dartandtest_271both read it.Findings beyond the steps
thSCD1=400is below the SAD of heavy noise alone, so every frame read as a scene cut and nothing was averaged. The newsmDegrainThSCD1defaults to 400, which leaves the script unchanged byte for byte. Strong and Very strong set it to 800. On σ 9 noise that takes the output from 29.1 dB to 36.8 dB, and real cuts are still detected.Noise hint
When the background noise measurement judged the source noisy, the Noise Reduction panel suggests a Strength step for the measured level. It is advisory only: it never changes a value, and it shows only for an enabled pass whose method has a Strength.
Built-in presets: small changes in output
Built-in presets now use named steps, so simple mode never shows "Custom" for them:
NoiseReductionParameters.fromPreset: light / moderate / heavy are now SMDegrain's Light / Medium / Strong steps.The selectors carry NEW badges (1.8.0). CLAUDE.md, README, FILTER_SCHEMA.md, ENGINEERING_NOTES and the reports index are updated.
Testing (macOS arm64)
cargo test: all green, includingtest_271(every step reaches the generated script).flutter test --exclude-tags heavy,gpu: 2019 passed. This includes the newstrength_presets_test.dart,preset_visibility_test,filter_schema_curation_test,parameter_copy_with_testand the script-generation coverage inintegration_filter_parameters_test.integration_strength_test.dart: 7/7 passed. It encodes with each method at each step and checks that a stronger step does more.🤖 Generated with Claude Code