Fix Nikon D5 black level when using LibRaw

With LibRaw, the black level is provided in the global black variable
instead of the per-channel array. Black levels in camconst.json override
the global black level instead of adding to the black level as with the
per-channel levels. LibRaw and dcraw have the same black level for the
D5, so it is sufficient to remove the black level from camconst.json.
This commit is contained in:
Lawrence Lee 2025-03-29 21:00:51 -07:00
parent ddf7bd85ee
commit 04d2695eae
No known key found for this signature in database
GPG Key ID: 048FF2B76A63895F

View File

@ -1857,7 +1857,7 @@ Camera constants:
{ // Quality B, no LENR samples
"make_model": "Nikon D5",
"dcraw_matrix": [ 9200,-3522,-992,-5755,13803,2117,-754,1486,6338 ], // DNG v13.2
"ranges": { "black": 0, "white": 16300 } // WL typical 16383 set to 16300 for safety
"ranges": { "white": 16300 } // WL typical 16383 set to 16300 for safety
},
{ // Quality C