darktable-gen-noiseprofile incorrectly reads extended ISO settings from Z 6ii #12264
Description
Introduction
When trying to generate a noise profile for the Nikon Z 6ii, the darktable-gen-noiseprofile script uses incorrect ISO values for any images taken using the Lo and Hi extended ISO ranges. Everything else seems to work though, just the ISO is not the expected value for each image.
To Reproduce
- Extract input images into a folder/directory
- Run the
darktable-gen-noiseprofilescript on input images - Wait for script completion
- Check noise results pdf and presets JSON file (the console output can also be used to check for reproduction when it detects the images)
Input Images.zip (970MB of raw .NEF images)
Expected behavior
ISO values for expected behaviour come from darktable itself as well as EXIF metadata when exiv2 is manually executed:
- DSC_5122 should have an ISO of 50 (Lo 1.0)
- DSC_5123 should have an ISO of 63 (Lo 0.7)
- DSC_5124 should have an ISO of 79 (Lo 0.3)
- DSC_5153 should have an ISO of 64508 (Hi 0.3)
- DSC_5154 should have an ISO of 81275 (Hi 0.7)
- DSC_5156 should have an ISO of 102400 (Hi 1.0)
- DSC_5157 should have an ISO of 204800 (Hi 2.0)
Actual behavior
Script PDF, presets.json, and console output report the following:
- DSC_5122 has an ISO of 48
- DSC_5123 has an ISO of 52
- DSC_5124 has an ISO of 56
- DSC_5153 has an ISO of 172
- DSC_5154 has an ISO of 176
- DSC_5156 has an ISO of 180
- DSC_5157 has an ISO of 192
Platform
- darktable version : 4.0.0 (built using latest stable release source, no additional cmake flags)
- OS : Linux - kernel 5.13.0-35-generic
- Linux - Distro : Ubuntu 20.04 LTS
- Processor : Intel Core i7-4500U
- Memory : 7.5GiB
- Graphics card : Intel HD Graphics 4400
- Graphics driver : Unknown
Additional Notes
I did have to apply the fix to the script as described here to get it to run, but otherwise it is the darktable-gen-noiseprofile script that gets built from the source.
Also, I am a big novice when it comes to Linux, as I am a primarily Windows user. My "on-the-go" laptop runs linux though and that is where I am trying to generate this noise data from as it seems the Windows installation does not come with the necessary scripts.