Skip to content
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

Updated EOS 2000D BlackAreas cameras.xml #718

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

PeterWem
Copy link
Contributor

This change solves #717 and is cropping out the first 4 columns from left optical black area when the first 4 columns are not black.

This change solves darktable-org#717 and is cropping out the first 4 columns from left optical black area.
@PeterWem PeterWem requested a review from LebedevRI as a code owner May 13, 2024 20:57
@LebedevRI
Copy link
Member

for RPU sample, exiftool says:

[MakerNotes]    SensorWidth                     : 6096
[MakerNotes]    SensorHeight                    : 4051
[MakerNotes]    SensorLeftBorder                : 88
[MakerNotes]    SensorTopBorder                 : 47
[MakerNotes]    SensorRightBorder               : 6087
[MakerNotes]    SensorBottomBorder              : 4046
[MakerNotes]    BlackMaskLeftBorder             : 0
[MakerNotes]    BlackMaskTopBorder              : 0
[MakerNotes]    BlackMaskRightBorder            : 0
[MakerNotes]    BlackMaskBottomBorder           : 0

Is the output identical for that raw too?

#389 is the main culprit here, a few bad rows/cols shouldn't normally cause so dramatic effect.

@PeterWem
Copy link
Contributor Author

PeterWem commented May 14, 2024

Same.
IMG_2637_CR2.txt

The sample from RPU says firmware 1.0.0. The one I got has 1.1.0

To me it seems like Canon didn't mask those 4 columns at all with this camera. Never seen that before with Canon.

Skärmbild från 2024-05-14 09-46-15

@LebedevRI
Copy link
Member

Huh, that's bizarre. And the horizontal black area in cameras.xml also (already) does not match the makernotes...

@PeterWem
Copy link
Contributor Author

PeterWem commented May 15, 2024

Huh, that's bizarre. And the horizontal black area in cameras.xml also (already) does not match the makernotes...

That should be good, shouldn't it? 4 lines down to crop out nonsens pixels and ending 30 lines down instead of 36 not getting too close to the active image pixels.

Or do you mean the part that is 0?
BlackMaskLeftBorder
BlackMaskTopBorder

@PeterWem
Copy link
Contributor Author

PeterWem commented May 16, 2024

With permission to share this raw file here for everyone, https://drive.google.com/file/d/1fAzOCo2dGLM6yJfyJB-yG34KyFTRmfgg/view?usp=drive_link

I asked the photographer about high ISO shot because the different parts of the optical black area are more visible.

The red part is the missing masked pixels.

I don't know what the blue part is but many raw files from Canon look like that. Is it how things work in sensor when the image first is captured? It begins to read the sensor from that part?

Purple part is the masked pixels we use to set the black level.

What about the green part? I see that part at higher ISO from different Canon models.

ob

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants