Nikon HE* decoder

chroma seems solved, yet hardcoded and not derived from values in the headers, this will be the next step to look where to find the correction values in the file

2 Likes

Current color rendering in darktable. Looks promising.

Missing:

  • Derive color correction from header or whitebalance metadata (still unclear)
  • Stone color / overall color seems still off to me
  • The Adobe DNG looks smoother so some deblocking is missing it seems
  • Decoding artifacts still present in the form of black/white dotted areas (all comps) and colored stripes (come from comp3)
  • Top looks smeared

1 Like

Could anyone with access to a HE* camera and a color target shoot a neutral grey patch for me? Or best multiple color patches that include neutral grey as well? Thanks a lot! @martinus

Practical requirements for the shot:

  • HE* compression mode (obviously)
  • Flat, even lighting — avoid specular on the target surface
  • Keep the target reasonably large in frame so each patch spans several precincts
  • Shoot at base ISO to minimise noise in the Cr/Cb channels
  • Include a shot in HE (uncompressed or lossless) of the same target if your camera supports it — that would give us a direct before/after comparison of what the Nikon ICT does to the codec values, which is the most direct way to characterise the transform
2 Likes

I am currently on the road, could you give an visual example of what you are looking for?

something like https://www.xrite.com/de/categories/calibration-profiling/colorchecker-targets

I can see what I can do. As I am traveling right now I don’t have the option of getting them right now, unfortunately.

1 Like

now look at those beauties. I finally cracked the gains table. Banding is now completely gone

4 Likes

Awesome job!!

1 Like

I feel like Claude is my baby now, constantly telling it what not to do :smiley:

Add it to the instructions so it “remembers”.

it’s a bit hard when you’re juggling a few free ones but I’ll manage :smiley: