Repository navigation
LR-IMP-CAMERA-COVERAGE: Nikon D600, D610 and D5000 NEFs drop the columns past the image (#1627) - #1770
Closed
endthestart wants to merge 2 commits into
Closed
LR-IMP-CAMERA-COVERAGE: Nikon D600, D610 and D5000 NEFs drop the columns past the image (#1627)#1770endthestart wants to merge 2 commits into
endthestart wants to merge 2 commits into
Conversation
…mns past the image (storytold#1627)
bogusyogi
added a commit
to Orthic-Labs/ember
that referenced
this pull request
Oct 15, 2026
…mns past the image (storytold#1627) (upstream storytold#1770) Applied from storytold/lightcraft PR storytold#1770 (open upstream, not yet merged); docs merged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…-area # Conflicts: # docs/parity-checklist.md
Contributor
Author
|
Closing this in favour of #1053, which measures the D600, D610 and D5000 frames along with many other bodies. I left a note there about the white level part. Thanks! |
endthestart
pushed a commit
to endthestart/lightcraft
that referenced
this pull request
Oct 15, 2026
# Conflicts: # crates/raw/src/vendor/nef.rs # docs/parity-checklist.md # docs/raw-parity.md # docs/whats-new.md
endthestart
pushed a commit
to endthestart/lightcraft
that referenced
this pull request
Oct 15, 2026
…orytold#1770 both added them, with the same crops) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
The D600 and D610 write 6080 x 4028 samples where columns 6034 to 6047 are filler and noise and only the last 32 are dark, so the masked-column check keeps them and they show up as the bright line on the right from #1627. I measured both bodies on the CC0 NEFs on raw.pixls.us (4 of each, 12 and 14-bit, lossless and lossy). The camera JPEG is 6016 x 4016 and sits at (8, 6) in all 8, so they join the D4 and D90 in MEASURED_BODIES. The noise columns were also being read as a saturation plateau. For example, the white came out at 3182 on a D600 file whose picture goes up to 3450. So for measured bodies without a fixed white level, it's now measured inside the image area only.
The D5000 has the same sensor and filler as the D90, so it gets the D90's area and white level. Both raw.pixls.us samples had Auto Distortion Control on, so only the center of their JPEGs lines up, and it lines up at (10, 10) like the D90.
I added a test with synthetic D600, D610 and D5000 data, and all 10 samples now render at the camera JPEG's size with no line. If there's a better way to handle these bodies let me know, I'm happy to change it. Thanks!
Fixes #1627