1. WL=15700
  2. dcamprof-1.0.5 $ ~/scripts/generateDCP -c "NIKON D810"
  3. argyll-scanin daylight ----------------------------------------
  4. Input file 'daylight.tif': w=2631, h=1761, d = 3, bpp = 16
  5. Data input file 'data-examples/cc24_ref.cie'
  6. Data output file 'daylight.ti3'
  7. Chart reference file '/usr/share/argyllcms/ref/ColorChecker.cht'
  8. Creating diagnostic tiff file 'daylight-diag.tif'
  9. About to allocate scanrd_ object
  10. Verbosity = 2, flags = 0x62af9
  11. About to read input tiff file and discover groups
  12. adivval = 1.000000
  13. About to calculate edge lines
  14. 2757 useful edges out of 11504
  15. About to calculate perspective correction
  16. Perspective correction factors = -0.000005 0.000001 1315.499970 880.500000
  17. About to calculate rotation
  18. Mean angle = -0.649306
  19. Standard deviation = 5.215505
  20. Robust mean angle = -0.055721 from 2077 lines
  21. About to calculate feature information
  22. About to read reference feature information
  23. Read of chart reference file succeeded
  24. About to match features
  25. Checking xx
  26. Checking yy
  27. Checking xy
  28. Checking yx
  29. Checking xix
  30. Checking yiy
  31. Checking xiy
  32. Checking yix
  33. Axis matches for each possible orientation:
  34. 0: xx = 0.256812, yy = 0.179704, xx.sc = 0.122072, yy.sc = 0.124787
  35. 90: xiy = 0.143493, yx = 0.230484, xiy.sc = 0.602014, yx.sc = 0.122195
  36. 180: xix = 0.262441, yiy = 0.153461, xix.sc = 0.122069, yiy.sc = 0.125398
  37. 270: xy = 0.140626, yix = 0.236910, xy.sc = 0.602014, yix.sc = 0.109367
  38. r0 = 0.306622, r90 = 0.055109, r180 = 0.295944, r270 = 0.050050
  39. There are 2 candidate rotations:
  40. cc = 0.306622, irot = -0.055721, xoff = -86.980030, yoff = -1.795066, xscale = 8.191882, yscale = 8.013628
  41. cc = 0.295944, irot = 179.944279, xoff = -2632.727851, yoff = -1795.492006, xscale = 8.192108, yscale = 7.974598
  42. About to compute match transform for rotation -0.055721 deg.
  43. About to setup value scanrdg boxes
  44. About to read raster values
  45. About to compute expected value correlation
  46. About to compute match transform for rotation 179.944279 deg.
  47. About to setup value scanrdg boxes
  48. About to read raster values
  49. About to compute expected value correlation
  50. Expected value distance values are:
  51. 0, rot -0.055721: 2237.162838
  52. 1, rot 179.944279: 3815.854686
  53. Chosen rotation -0.055721 deg. as best
  54. About to compute final match transform
  55. Improve match
  56. About to setup value scanrdg boxes
  57. About to read raster values
  58. About to write diag file
  59. Writing output values to file 'daylight.ti3'
  60. make-profile daylight ----------------------------------------
  61. Reading target...
  62. Camera G on darkest patch(es) is 24.4% lighter compared to observer Y.
  63. Y dynamic range is 4.83 stops, G dynamic range is 4.52 stops, difference
  64. 0.32 stops. A small difference is normal, while a large indicates that there
  65. is glare.
  66. Generating values for the calibration illuminant D50...
  67. Re-generating target reference XYZ values for illuminant D50...
  68. Warning: auto-selected neutral patch (D02) is not the lightest, as the
  69. lightest patch is considerably off-white. That is if you later use the target
  70. for white balancing you should use the indicated patch instead of the
  71. lightest.
  72. The most neutral patch (D02) differs 1.22 DE from actual neutral,
  73. transforming target reference XYZ values to match, using CAT02.
  74. Automatic LUT relaxation weights assigned.
  75. Making camera profile...
  76. Finding a camera raw RGB to CIE XYZ matrix for calibration illuminant D50...
  77. Whitest patch in target (D02) differs DE 1.22 from calibration illuminant,
  78. close enough to calculate whitepoint preservation.
  79. Inverting to get ColorMatrix:
  80. {
  81. "ColorMatrix1": [
  82. [ 0.986187, -0.296497, -0.087822 ],
  83. [ -0.434947, 1.241764, 0.213982 ],
  84. [ -0.060815, 0.146982, 0.689157 ]
  85. ]
  86. }
  87. Matrix patch match average DE 1.80, DE LCh 0.72 0.79 1.22
  88. median DE 1.71, DE LCh 0.92 0.76 0.88
  89. p90 DE 2.61, DE LCh 1.56 1.55 2.94
  90. max DE 5.13, DE LCh 1.81 1.98 4.91
  91. ColorMatrix optimal white balance for target: 0.582539,1,0.657721 (m1.71662,1,1.5204)
  92. Finding a camera raw RGB to CIE XYZ matrix for connection space illuminant D50...
  93. {
  94. "LUTMatrix1": [
  95. [ 0.643002, 0.126788, 0.194428 ],
  96. [ 0.276447, 0.664371, 0.059182 ],
  97. [ 0.000116, 0.014230, 0.810856 ]
  98. ]
  99. }
  100. LUTMatrix optimal white balance for target: 0.577773,1,0.654198 (m1.73078,1,1.52859)
  101. Matrix patch match average DE 4.49, DE LCh 1.91 3.12 2.56
  102. median DE 4.96, DE LCh 1.90 3.13 2.55
  103. p90 DE 7.55, DE LCh 3.43 6.46 5.18
  104. max DE 8.23, DE LCh 4.95 7.54 5.79
  105. Finding a camera raw RGB to CIE XYZ matrix for connection space illuminant D50...
  106. Y row limit set to -0.2.
  107. Applying white-balance to get ForwardMatrix:
  108. {
  109. "ForwardMatrix1": [
  110. [ 0.657142, 0.230229, 0.076848 ],
  111. [ 0.241105, 0.881605, -0.122710 ],
  112. [ 0.035384, -0.223053, 1.012871 ]
  113. ]
  114. }
  115. ForwardMatrix optimal white balance for target: 0.577773,1,0.654198 (m1.73078,1,1.52859)
  116. Matrix patch match average DE 1.84, DE LCh 0.87 0.82 1.25
  117. median DE 1.74, DE LCh 0.99 0.74 1.11
  118. p90 DE 2.83, DE LCh 1.68 1.79 2.30
  119. max DE 5.10, DE LCh 1.90 2.30 4.92
  120. Making 2.5D chromaticity-addressed lookup table for XYZ correction...
  121. 4.17% of the patches was put in a chromaticity group due to nearby neighbor.
  122. 25.00% of the patches was removed due to being nearby the whitepoint.
  123. Largest chromaticity group contains 2 patches. Patch count reduced from
  124. 24 to 17. Note that patch matching cannot reach 100% when chromaticity
  125. groups are formed, as the LUT matches the average within a group.
  126. Lightness axis is disabled. Since lightness affects chroma, the LUT chroma
  127. control points are recalculated to better match the uncorrected lightness.
  128. A residual error of up to about 0.2 DE is expected.
  129. Relaxing LUT stretch with up to 3.93 DE. Iterating over 17 patches...
  130. Lightness correction is disabled.
  131. Average DE for the 17 tested patches increased to 1.86 after LUT relax.
  132. 35.29% could do without LUT correction.
  133. Native LUT patch match average DE 1.70, DE LCh 0.86 0.83 0.90
  134. median DE 1.66, DE LCh 0.99 0.74 0.87
  135. p90 DE 2.59, DE LCh 1.68 2.04 1.55
  136. max DE 3.04, DE LCh 1.90 2.95 1.66
  137. 5 worst patches for Overall DE:
  138. B06 RGB 0.363 0.374 0.091 XYZref 0.537 0.477 0.066 XYZcam 0.521 0.471 0.095 sRGB #F7A62B #F0A748 DE 3.04 DE LCh -0.30 -2.95 -0.69 (light strong orange)
  139. C04 RGB 0.440 0.557 0.112 XYZref 0.663 0.666 0.082 XYZcam 0.648 0.661 0.114 sRGB #FECE20 #FCCF44 DE 2.78 DE LCh -0.15 -2.53 +1.14 (light vivid yellow)
  140. C03 RGB 0.206 0.086 0.040 XYZref 0.242 0.140 0.042 XYZcam 0.259 0.154 0.056 sRGB #C0333A #C43B45 DE 2.59 DE LCh +1.90 -0.74 -1.60 (strong red)
  141. B05 RGB 0.233 0.460 0.125 XYZref 0.390 0.485 0.099 XYZcam 0.389 0.478 0.121 sRGB #AFC245 #AEC055 DE 2.17 DE LCh -0.31 -2.04 +0.68 (light strong yellow-green)
  142. B04 RGB 0.064 0.078 0.081 XYZref 0.092 0.071 0.114 XYZcam 0.102 0.080 0.119 sRGB #5D3F6B #62456D DE 2.08 DE LCh +1.68 -1.04 +0.61 (dark purple)
  143. 5 worst patches for Lightness DE:
  144. C03 RGB 0.206 0.086 0.040 XYZref 0.242 0.140 0.042 XYZcam 0.259 0.154 0.056 sRGB #C0333A #C43B45 DE 2.59 DE LCh +1.90 -0.74 -1.60 (strong red)
  145. A03 RGB 0.105 0.245 0.220 XYZref 0.187 0.202 0.287 XYZcam 0.201 0.218 0.293 sRGB #5780A3 #5F84A4 DE 1.91 DE LCh +1.70 -0.90 -0.55 (purple-blue)
  146. B04 RGB 0.064 0.078 0.081 XYZref 0.092 0.071 0.114 XYZcam 0.102 0.080 0.119 sRGB #5D3F6B #62456D DE 2.08 DE LCh +1.68 -1.04 +0.61 (dark purple)
  147. D06 RGB 0.024 0.042 0.028 XYZref 0.034 0.035 0.030 XYZcam 0.040 0.041 0.035 sRGB #343435 #38393A DE 1.64 DE LCh +1.56 -0.20 -0.46 (gray 20%)
  148. A04 RGB 0.078 0.155 0.063 XYZref 0.121 0.146 0.059 XYZcam 0.132 0.158 0.068 sRGB #626F44 #66734A DE 1.66 DE LCh +1.54 -0.63 +0.06 (yellow-green)
  149. 5 worst patches for Chroma DE:
  150. B06 RGB 0.363 0.374 0.091 XYZref 0.537 0.477 0.066 XYZcam 0.521 0.471 0.095 sRGB #F7A62B #F0A748 DE 3.04 DE LCh -0.30 -2.95 -0.69 (light strong orange)
  151. C04 RGB 0.440 0.557 0.112 XYZref 0.663 0.666 0.082 XYZcam 0.648 0.661 0.114 sRGB #FECE20 #FCCF44 DE 2.78 DE LCh -0.15 -2.53 +1.14 (light vivid yellow)
  152. B05 RGB 0.233 0.460 0.125 XYZref 0.390 0.485 0.099 XYZcam 0.389 0.478 0.121 sRGB #AFC245 #AEC055 DE 2.17 DE LCh -0.31 -2.04 +0.68 (light strong yellow-green)
  153. C02 RGB 0.088 0.272 0.099 XYZref 0.165 0.252 0.086 XYZcam 0.174 0.258 0.099 sRGB #51994E #579956 DE 1.58 DE LCh +0.47 -1.42 +0.52 (yellow-green)
  154. B01 RGB 0.340 0.242 0.063 XYZref 0.445 0.342 0.053 XYZcam 0.451 0.348 0.067 sRGB #EE802F #EE823D DE 2.08 DE LCh +0.40 -1.20 -1.66 (strong orange)
  155. 5 worst patches for Hue DE:
  156. B01 RGB 0.340 0.242 0.063 XYZref 0.445 0.342 0.053 XYZcam 0.451 0.348 0.067 sRGB #EE802F #EE823D DE 2.08 DE LCh +0.40 -1.20 -1.66 (strong orange)
  157. C03 RGB 0.206 0.086 0.040 XYZref 0.242 0.140 0.042 XYZcam 0.259 0.154 0.056 sRGB #C0333A #C43B45 DE 2.59 DE LCh +1.90 -0.74 -1.60 (strong red)
  158. C05 RGB 0.258 0.177 0.173 XYZref 0.341 0.221 0.255 XYZcam 0.355 0.232 0.247 sRGB #C8599B #CD5C98 DE 1.92 DE LCh +1.10 -0.26 +1.55 (purple-red)
  159. A02 RGB 0.323 0.355 0.203 XYZref 0.434 0.387 0.214 XYZcam 0.462 0.409 0.236 sRGB #D29987 #D89D8E DE 1.95 DE LCh +1.28 -0.04 -1.48 (red)
  160. C01 RGB 0.032 0.094 0.149 XYZref 0.077 0.064 0.235 XYZcam 0.079 0.069 0.233 sRGB #00499A #004B99 DE 1.33 DE LCh +0.94 -0.87 -1.43 (dark purple-blue)
  161. 5 best patches for Overall DE:
  162. D02 RGB 0.372 0.645 0.422 XYZref 0.622 0.645 0.532 XYZcam 0.622 0.645 0.532 sRGB #D2D2D2 #D2D2D2 DE 0.00 DE LCh +0.00 +0.00 +0.00 (gray 80%)
  163. D04 RGB 0.123 0.212 0.137 XYZref 0.202 0.209 0.174 XYZcam 0.204 0.212 0.173 sRGB #7D7E7E #7F7F7D DE 0.97 DE LCh +0.29 +0.19 -0.91 (gray 50%)
  164. B03 RGB 0.263 0.144 0.085 XYZref 0.331 0.217 0.112 XYZcam 0.343 0.221 0.116 sRGB #D25865 #D65566 DE 1.03 DE LCh +0.34 +0.70 -0.67 (red)
  165. D05 RGB 0.060 0.105 0.069 XYZref 0.094 0.098 0.083 XYZcam 0.100 0.105 0.086 sRGB #575859 #5A5B5B DE 1.22 DE LCh +1.02 -0.10 -0.67 (gray 40%)
  166. A01 RGB 0.092 0.096 0.048 XYZref 0.130 0.113 0.057 XYZcam 0.130 0.114 0.054 sRGB #7C5547 #7C5544 DE 1.25 DE LCh +0.07 +0.32 +1.21 (dark brown)
  167. Writing output to "daylight.json"...
  168. Complete!
  169. make-dcp ----------------------------------------
  170. Camera: NIKON D810
  171. Copyright: RawTherapee CC0
  172. Curve: acr
  173. TRO: neutral
  174. Gamut: none
  175. Enter DCP filename suffix, if any: wl15700
  176. Generating 2.5D HueSatMap with 90x30 = 2700 entries...done!
  177. The tone curve's contrast value is 1.30 (=> auto chroma scaling value 1.121)
  178. Generating 3D LookTable with 90x30x30 = 81000 entries for the neutral tone reproduction operator...
  179. 0%..10%..20%..30%..40%..50%..60%..70%..80%..90%..100%
  180. Writing output to "NIKON D810 wl15700.dcp"...
  181. Complete!