Repository navigation
LR-BEHAV-RENDER-FIDELITY: process V9, Whites and the tone curves measured against Lightroom (#523) #4076
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
smi-leonivkovic
wants to merge
31
commits into
storytold:main
Choose a base branch
from
SMI-Digital:lr-v8-tone
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,375
−72
Open
LR-BEHAV-RENDER-FIDELITY: process V9, Whites and the tone curves measured against Lightroom (#523) #4076
Changes from 22 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
6d29e03
LR-BEHAV-RENDER-FIDELITY: process V8, Whites and the tone curves meas…
smi-leonivkovic b16fd0c
LR-BEHAV-RENDER-FIDELITY: doc comments for the V8 curve stage, Gap 3 …
smi-leonivkovic 6cb4e5b
Merge remote-tracking branch 'origin/main' into lr-v8-tone
smi-leonivkovic 815ebe6
LR-BEHAV-RENDER-FIDELITY: what's new names process 9 (#523)
smi-leonivkovic fc55dde
LR-BEHAV-RENDER-FIDELITY: review fixes: neutral-render claims, Whites…
smi-leonivkovic 5154467
LR-BEHAV-RENDER-FIDELITY: review fixes: measured curve tables only at…
smi-leonivkovic b1f6a66
LR-EDIT-LIGHT-CURVE-PARAM: the parametric graph draws and drags the c…
smi-leonivkovic 0bbd0fc
LR-BEHAV-RENDER-FIDELITY: review fixes: the chart tool refuses render…
smi-leonivkovic b0e9b29
Merge branch 'lr-v8-tone' into lr-v9-curve-graph
smi-leonivkovic 6f565fe
LR-EDIT-LIGHT-CURVE-PARAM: review fixes: a graph drag searches the cu…
smi-leonivkovic a8b4d7e
LR-BEHAV-RENDER-FIDELITY: review fixes: the measured tables are read …
smi-leonivkovic 0b26397
Merge branch 'lr-v8-tone' into lr-v9-curve-graph
smi-leonivkovic 8bec5c5
LR-EDIT-LIGHT-CURVE-PARAM: review fixes: doc comments on the graph's …
smi-leonivkovic 3437e59
Merge remote-tracking branch 'origin/main' into lr-v8-tone
smi-leonivkovic 5ba1722
Merge branch 'lr-v8-tone' into lr-v9-curve-graph
smi-leonivkovic 14909c4
curve_stage: say in apply's doc that values above white are added bac…
smi-leonivkovic f54fd34
LR-EDIT-LIGHT-CURVE-PARAM: the parametric graph's fix from #4126 land…
smi-leonivkovic 03de271
Merge origin/main into lr-v8-tone
smi-leonivkovic 789c1a0
LR-BEHAV-RENDER-FIDELITY: Whites and the parametric regions are a fit…
smi-leonivkovic 7c0e8ea
Merge main into lr-v8-tone (#523)
smi-leonivkovic be29de8
Merge remote-tracking branch 'origin/main' into lr-v8-tone
smi-leonivkovic 1f53475
test(curve): the drag test allows the framework's drag threshold, not…
smi-leonivkovic ff7529a
Merge main into lr-v8-tone: the series moves to process V18 (#523)
smi-leonivkovic a85845d
test(proraw): V18's curve stage leaves Whites to the ProRAW chain; V1…
smi-leonivkovic 2722f97
fix(curve_stage): Refine Saturation restores the colour after Whites …
smi-leonivkovic 5a58233
fix(curve_input): under V18 sample where the curve stage reads (#523)
smi-leonivkovic de0c5a8
fix(tools): the tone charts' manifest carries the tool's prefix and f…
smi-leonivkovic 023c93c
test(gpu): the curve-input prefix test names V17, where the sample is…
smi-leonivkovic a8872ab
fix(curve_input): on ProRAW the sample's curve stage leaves Whites to…
smi-leonivkovic 587ed53
docs: V17's Apple ProRAW uses its chain's fitted Whites, not V2 White…
smi-leonivkovic e382eef
docs(parity): the point curves keep LightCraft's spline shape; only h…
smi-leonivkovic File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The V17 curve-input histogram shows values after colour operations.
For
Process::V17, the diagnostic stops after the encoded output path, not before the curve stage's successors.finish_withruns the new V17 curve stage before colour operations. It then runs colour operations, gamut mapping and output encoding before thestop_after_curvesbranch stores the sample. The curve editor draws this sample as the curve's input histogram. For renders with colour operations, the histogram can therefore show values that the selected curve never receives.Keep the diagnostic on the selected curve's input for V17. Any V17 sample must come from the point where the curve stage receives its values, or from an explicit conversion from that domain to the editor's encoded domain. Choose the domain conversion deliberately. Do not reuse the post-colour sample for V17.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in 5a58233. Under V18 the sample is taken right after the curve stage built from the curve's predecessors, as sRGB-encoded linear ProPhoto (the stage's domain), with headroom kept above 1. The output-domain tests now name V17, where that domain still holds. New test:
v18_samples_where_the_curve_stage_reads_not_after_the_colour_tools.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Analysis chain
Script executed:
Length of output: 52841
@smi-leonivkovicThe V18 sample now stops before the colour operations, but one case remains.For ProRAW,
FinishParams::newapplies Whites in the ProRAW chain and sets Whites to zero in the curve stage. Incrates/pipeline/src/curve_input.rsLine 113, the diagnostic rebuilds that stage with the original Whites value. This applies Whites twice to the histogram sample.Please preserve the zero-Whites handling when rebuilding the diagnostic stage and add a ProRAW histogram test with nonzero Whites. I did not run the tests, so I’m not marking the finding as addressed.
Learnings used
If you found this review helpful, would you consider giving us a shout-out on X?
Thank you for using CodeRabbit!
You are interacting with an AI system.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in a8872ab: the render and the curve-input sample build the stage with the same
finish::curve_stage_for, which leaves Whites to the ProRAW chain. Test:proraw_curve_input_applies_whites_once.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Analysis chain
Script executed:
Length of output: 43645
@smi-leonivkovicThe code now excludes Whites from the ProRAW curve stage in both the render and the diagnostic.The new test checks stage construction, but it does not render or check a histogram. Please add the requested ProRAW histogram regression with nonzero Whites. I did not run the tests, and I am not marking the finding as addressed yet.
Learnings used
You are interacting with an AI system.