Repository navigation
LR-PROF-CAMERACOLOR: refine partial looks with measured colour - #732
QuirkyTurtle94 wants to merge 1 commit into
Conversation
Try existing spectral calibration only after an accepted partial look cannot learn a colour matrix. Refit tone and chroma, retaining the old partial unless held-out error improves. Preserve full fits and refresh render and smart-preview caches. Co-Authored-By: Codex <noreply@openai.com>
|
A coordination note, as this overlaps with two of mine on the same code:
|
|
Thanks for refining the partial looks. This needs a rebase. #938 (black-and-white camera JPEG tone curve) and #854 are landing now and rework the same Generated by Claude Code |
|
Thanks for the coordination and rebase guidance. I have checked current main The integration points to preserve are:
The eventual I have also updated #763 to mark #792/#975's Reset fix as landed and distinguish the old 64-file measurements from future runs with the restored import defaults. Updated with Codex. |
…ack on the sorted catalogs The two new format strings join PR storytold#729's sorted catalogs (cargo xtask i18n --sort). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
wanikhawar
left a comment
There was a problem hiding this comment.
Conflicts with main, please rebase. The change itself reads correctly.
An accepted partial camera look can contain an identity colour matrix, so it bypasses the measured spectral fallback even when the scene could not constrain colour. On my A7R IVA lion frame this leaves muted colour despite a useful tone fit. This change lets that narrow case try the camera's existing measured calibration, with freshly fitted tone and chroma.
Related to #535 and #515; this does not close either umbrella issue. Research and wildlife comparisons: #535 (comment)
Behaviour
LOOK_VERSION2→3 andRENDER_CACHE_VERSION42→43. Perdocs/process-versions.md, camera-colour source changes do not introduce a develop process version.Evidence and limits
64 private ILCE-7RM4A RAWs, reset edits, CPU, empty local-profile directory, 1600px exports: all 63 full-fit renders are byte-identical to baseline; only the known partial-fit lion frame changes. Baseline is upstream
b70ae174plus #695's optical aspect guard (9682caae); all private files here are native 3:2. The change is based directly on upstreamb70ae174.For that frame, against Sony Imaging Edge Edit 4.1.00.03062 with DRO off, after similarity registration and a central 84% crop:
Against the embedded JPEG, mean CIE76 instead moves 1.72→1.83. Held-out proxy squared error improves (linear 3.311585→3.284941; encoded 3.675275→3.624903), but that does not promise improvement under every perceptual metric. Sony Edit and the camera JPEG are different reference renders. This is one affected scene, not validation of every spectral model, calibrated colour accuracy, or Lightroom parity. The existing DRO policy is unchanged.
Validation
cargo xtask ci: all 8 steps passed (fmt, clippy, heif, workspace tests, parity, layers, assets, wasm), Rust 1.97.1 on Apple M1/macOS with the complete local corpus. Run with localhost permissions required by the control-server tests.Coordination: checked current open camera-colour PRs. #699 changes the tone-fit scene-range gate, #645 handles local contrast during Highlights/Shadows edits, and #514 explicitly leaves fitted camera tones alone. This targets the partial-look/spectral-calibration interaction only. No RAWs, family images or private metadata are included in the branch.
Implemented and investigated with Codex.