Project

General

Profile

Camera Support #11580

Noise Profiling for Nikon D500

Added by Ari El about 2 years ago. Updated almost 2 years ago.

Status:
Fixed
Priority:
Low
Assignee:
-
Category:
General
Target version:
Start date:
04/18/2017
Due date:
% Done:

100%

Affected Version:
2.2.3

Description

I'm trying to create a full noise profile for d500.

I ran into problems with the NEFs that have "Low ISO" (Lo 0.1 / Lo 0.3 / Lo 1.0) and "High Iso" (Hi 0.1 / Hi 0.3 etc)

They give a substitution error in the script:

--> Found ISO 50 Lo 1.0 50 Lo 1.0 image: ./DSC_1082.NEF
/.../tools/noise/gen-profile: 1: eval: Bad substitution

Similarly for the Hi ISO images.

I found this other bug: https://redmine.darktable.org/issues/11291

But it has no patch nor guidance on what to do. Seems the user also ended up removing the Lo ISO / Hi ISO from the set.

I attempted a quick hack doing:

exiftool -isoexpansion#=0 DSC_1082.NEF
exiftool -isoexpansion2#=0 DSC_1082.NEF

but the script still errors out:

===> List profiling input RAW images
--> Found ISO 50 Off 50 Off image: ./DSC_1082.NEF
/media/.../tools/noise/subr.sh: line 22: ${var_images_50 Off 50 Off}: bad substitution

Is there a way to add support for Nikon Lo & Hi ISO modes?

My workaround was to remove Lo ISO and Hi ISO from the set, and the profile generated seems outstanding - still testing it but very encouraging. Very similar (excellent) performance to the tried-and-tested D7100 noise profile that I used up until now, at least in pictures in the ISO 100-4000 range (where all my real D500 shots are so far).

(I attach the D500 noise profile for ISO 100-51200 that I got in case others want to test / take a look)

dt-noiseprofile-20170418.tar.gz (6.75 MB) Ari El, 04/18/2017 09:14 AM

DSC_1083.NEF - lo-iso (20.8 MB) Ari El, 05/05/2017 08:46 AM

DSC_1130.NEF - hi-iso (35.8 MB) Ari El, 05/05/2017 08:49 AM

Associated revisions

Revision a2c71bd9
Added by Stefan Schöfegger almost 2 years ago

noise profile: Add Nikon D500, fixes #11580

Revision 6ff2d4d4
Added by Roman Lebedev almost 2 years ago

Merge pull request #1483 from schenlap/noise_nikon_d500

noise profile: Add Nikon D500, see #11580

Revision 1bd9ba8e
Added by Stefan Schöfegger almost 2 years ago

noise profile: Add Nikon D500, fixes #11580

(cherry picked from commit a2c71bd91872b71678d304cd8c5b2f45e0471596)

Revision 1776e9f0
Added by Stefan Schöfegger over 1 year ago

noise profile: read Hi/Lo iso values, refs #11580, fixes #11842

This fixes "./gen-profile: 1: eval: Bad substitution" error
during noise profile calculation with same nikon images.
Tested with images from #11580, fix is copied from #11842.

exiv2 reports {{{
$ exiv2 -g "Exif.NikonIi.ISO" -Pt DSC_1083.NEF
79
Lo 0.3
79
Lo 0.3
}}}
which can not be parsed correct with current script.

79 seems to be the correct iso value as it is reported from exiv2
without key argument. {{{
$ exiv2 DSC_1083.NEF | grep ISO
ISO speed : 79
}}}

Revision afa6441b
Added by Roman Lebedev over 1 year ago

Merge pull request #1612 from schenlap/noise_nikon_iso

noise profile: read Hi/Lo iso values, refs #11580, fixes #11842

Revision 788127db
Added by Stefan Schöfegger about 1 year ago

noise profile: read Hi/Lo iso values, refs #11580, fixes #11842

This fixes "./gen-profile: 1: eval: Bad substitution" error
during noise profile calculation with same nikon images.
Tested with images from #11580, fix is copied from #11842.

exiv2 reports {{{
$ exiv2 -g "Exif.NikonIi.ISO" -Pt DSC_1083.NEF
79
Lo 0.3
79
Lo 0.3
}}}
which can not be parsed correct with current script.

79 seems to be the correct iso value as it is reported from exiv2
without key argument. {{{
$ exiv2 DSC_1083.NEF | grep ISO
ISO speed : 79
}}}

(cherry picked from commit 1776e9f0c85b41cdb3871316f06032af18371930)

History

#1 Updated by Stefan Schöfegger almost 2 years ago

Please upload one Hi ISO Image here for testing

#2 Updated by Stefan Schöfegger almost 2 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Fixed

#3 Updated by Ari El almost 2 years ago

Stefan Schöfegger wrote:

Please upload one Hi ISO Image here for testing

Uploaded one lo-iso (DSC 1083)
and one hi-iso (DSC 1130)

Either if them will cause the noise profile analysis script to fail

#4 Updated by Roman Lebedev almost 2 years ago

  • Target version changed from Candidate for next minor release to 2.4.0

Also available in: Atom PDF