Skip to content

Incorrect white level for Canon 5D Mark II at ISO 320 #969

Description

@dhoulder

Observed in darktable 5.4.1, rawspeed at commit 4c511d6

CR2 file from a Canon 5D Mark II shot at ISO 320. Available here

The automatically determined white level is 15312. The sky is clipped, showing the expected magenta hue, but the raw clipping indicator and highlight reconstruction indicator show no clipping.

Image

Manually setting the white level to 12965 activates highlight reconstruction and the raw clipping indicator.

Image

That value is very close to what used to be in cameras.xml for ISO 320

git show 6a54251d
…
        <Camera make="Canon" model="Canon EOS 5D Mark II" decoder_version="1">
                <ID make="Canon" model="EOS 5D Mark II">Canon EOS 5D Mark II</ID>
                <CFA width="2" height="2">
                        <Color x="0" y="0">GREEN</Color>
                        <Color x="1" y="0">BLUE</Color>
                        <Color x="0" y="1">RED</Color>
                        <Color x="1" y="1">GREEN</Color>
                </CFA>
                <Crop x="158" y="51" width="5634" height="3753"/>
                <Sensor black="1024" white="12995" iso_list="160 320 640 1250"/>
                <Sensor black="1024" white="15950"/>

I have been through my entire collection of images form this camera. ISO 160, 640 and 1250 also seem to be affected, as the cameras.xml snippet suggests. Other ISO values seem to have the correct white level, in that I can find images where the automatically determined white level does trigger the raw clipping indicator. I'm happy to provide more samples upon request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions