Repository navigation
Conversation
Make Luminance Contrast effective and filter colour through two edge-aware chromaticity passes on CPU and GPU. Keep V1/V2 rendering and include process/Contrast in the stage cache key. Publish as an alternative comparison draft to existing NR proposals, with their overlap, provisional process numbering, synthetic evidence and measured CPU performance limitations documented. Full validation status is recorded in the PR. Co-authored-by: Codex <noreply@openai.com>
This was referenced Oct 21, 2026
Closed
Contributor
|
This draft overlaps work that has landed since it was written: #1348 (colour NR) and #1489 (NR in original-image pixels) are merged, and #1259 and #1349 still cover luminance Contrast. The branch is based on 68c9240, conflicts on most of the files it touches, and full CI never completed, which the description acknowledges. The CPU cost is also above the budget you state. I suggest closing this as a comparison draft. If you want the edge-aware chroma passes or the Contrast epsilon idea considered, please open a fresh PR on current main that covers one piece and compares it with the merged #1348. Include a process-version and |
This branch has not been deployed
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.
Alternative proposal and overlap
This is a comparison draft, explicitly overlapping existing work. It does not claim these issues are unassigned or close them automatically:
Please assess this as an independent algorithm option; the current evidence does not establish that it is better than those implementations or matches Lightroom.
Additional coordination found in the 2026-10-14 review: open #1489 changes noise-reduction scaling to use original-image pixels and scale-dependent variance. It overlaps
local.rsand the CPU/GPU parameter paths; this draft does not include that fix and needs integration review if either proposal lands. #1672 also proposed a different V3 sharpening/chroma algorithm, but is currently closed without merging. The three principal alternatives above remain open and unmerged.Change and compatibility
Process V3 makes Luminance Contrast effective and provides separate Colour Detail/Smoothness roles. CPU and WGSL use the same parameters. Cache keys include the process and Contrast, so a warm slider change updates the render. V1/V2 keep their previous output; existing edits require Update to Current Process or Reset to adopt it. Other stages retain V2 behaviour.
V3 is provisional relative to main 68c9240. #1348, #1349, #944, #1226 and #1383 also propose process numbers; maintainers must reconcile numbering and inheritance in merge order before combining them. No code from those proposals is included here.
Validation and cost
conventional_nr_benchexample and measurements are indocs/conventional-noise-reduction.md. In the measured optimized-development run, V3 NR-drag CPU times were 55.9 ms at 1152x768, 144.3 ms at 1920x1280 and 1420.2 ms at 24 MP; corresponding GPU times were 10.4, 29.8 and 200.8 ms. CPU costs are materially higher than V2 and miss the stated interaction/export budgets. This is an explicit review limitation, not a release-performance claim.num-derivecompilation); the remaining workspace/wasm gates are unverified. This is not a green full-CI result. Exact final results will be recorded before leaving draft status.imagedependency compilation with native exit0x80000004. No final-base UI check was completed. These native compiler exits are not test assertion failures.Publication checkpoint (2026-10-14)
Upstream main is now a4b53b2; this comparison branch remains based on 68c9240. The historical results above do not validate integration with current main. GitHub reports that this branch cannot automatically merge with current main. Rebase/conflict resolution and current-main runtime validation remain required before leaving draft status. Separate contributions: #1433 (import duplicate matching) and #1713 (Lens Blur).