1. WL=16300
  2. dcamprof-1.0.5 $ ~/scripts/generateDCP -c "NIKON D810"
  3. argyll-scanin daylight ----------------------------------------
  4. Input file 'daylight.tif': w=2594, h=1729, 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. 2613 useful edges out of 10564
  15. About to calculate perspective correction
  16. Perspective correction factors = -0.000003 -0.000000 1296.999808 864.500000
  17. About to calculate rotation
  18. Mean angle = -0.854536
  19. Standard deviation = 5.244419
  20. Robust mean angle = -0.254715 from 1950 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.249098, yy = 0.095301, xx.sc = 0.122626, yy.sc = 0.118690
  35. 90: xiy = 0.069139, yx = 0.235514, xiy.sc = 0.591950, yx.sc = 0.108690
  36. 180: xix = 0.251989, yiy = 0.072048, xix.sc = 0.122643, yiy.sc = 0.243379
  37. 270: xy = 0.069857, yix = 0.253447, xy.sc = 0.591950, yix.sc = 0.108690
  38. r0 = 0.258145, r90 = 0.045068, r180 = 0.132070, r270 = 0.048272
  39. There are 1 candidate rotations:
  40. cc = 0.258145, irot = -0.254715, xoff = -95.693493, yoff = -86.086977, xscale = 8.154878, yscale = 8.425325
  41. About to compute final match transform
  42. Improve match
  43. About to setup value scanrdg boxes
  44. About to read raster values
  45. About to write diag file
  46. Writing output values to file 'daylight.ti3'
  47. make-profile daylight ----------------------------------------
  48. Reading target...
  49. Camera G on darkest patch(es) is 24.1% lighter compared to observer Y.
  50. Y dynamic range is 4.83 stops, G dynamic range is 4.52 stops, difference
  51. 0.31 stops. A small difference is normal, while a large indicates that there
  52. is glare.
  53. Generating values for the calibration illuminant D50...
  54. Re-generating target reference XYZ values for illuminant D50...
  55. Warning: auto-selected neutral patch (D02) is not the lightest, as the
  56. lightest patch is considerably off-white. That is if you later use the target
  57. for white balancing you should use the indicated patch instead of the
  58. lightest.
  59. The most neutral patch (D02) differs 1.22 DE from actual neutral,
  60. transforming target reference XYZ values to match, using CAT02.
  61. Automatic LUT relaxation weights assigned.
  62. Making camera profile...
  63. Finding a camera raw RGB to CIE XYZ matrix for calibration illuminant D50...
  64. Whitest patch in target (D02) differs DE 1.22 from calibration illuminant,
  65. close enough to calculate whitepoint preservation.
  66. Inverting to get ColorMatrix:
  67. {
  68. "ColorMatrix1": [
  69. [ 1.000992, -0.308279, -0.090839 ],
  70. [ -0.466232, 1.260381, 0.227878 ],
  71. [ -0.089433, 0.177142, 0.686037 ]
  72. ]
  73. }
  74. Matrix patch match average DE 1.68, DE LCh 0.72 0.72 1.10
  75. median DE 1.63, DE LCh 0.66 0.59 0.88
  76. p90 DE 2.39, DE LCh 1.53 1.53 2.29
  77. max DE 4.88, DE LCh 1.92 1.97 4.70
  78. ColorMatrix optimal white balance for target: 0.582588,1,0.657766 (m1.71648,1,1.5203)
  79. Finding a camera raw RGB to CIE XYZ matrix for connection space illuminant D50...
  80. {
  81. "LUTMatrix1": [
  82. [ 0.653696, 0.127580, 0.182942 ],
  83. [ 0.279022, 0.665979, 0.054999 ],
  84. [ 0.000187, 0.011538, 0.813476 ]
  85. ]
  86. }
  87. LUTMatrix optimal white balance for target: 0.57772,1,0.654336 (m1.73094,1,1.52827)
  88. Matrix patch match average DE 4.47, DE LCh 1.86 3.00 2.74
  89. median DE 4.94, DE LCh 1.79 3.02 2.66
  90. p90 DE 7.51, DE LCh 3.45 6.30 5.76
  91. max DE 8.09, DE LCh 4.84 7.47 6.80
  92. Finding a camera raw RGB to CIE XYZ matrix for connection space illuminant D50...
  93. Y row limit set to -0.2.
  94. Applying white-balance to get ForwardMatrix:
  95. {
  96. "ForwardMatrix1": [
  97. [ 0.658089, 0.225734, 0.080396 ],
  98. [ 0.239747, 0.883922, -0.123669 ],
  99. [ 0.026205, -0.223022, 1.022018 ]
  100. ]
  101. }
  102. ForwardMatrix optimal white balance for target: 0.57772,1,0.654336 (m1.73094,1,1.52827)
  103. Matrix patch match average DE 1.76, DE LCh 0.82 0.77 1.21
  104. median DE 1.72, DE LCh 0.93 0.71 1.02
  105. p90 DE 2.81, DE LCh 1.55 1.86 2.34
  106. max DE 4.99, DE LCh 1.86 2.16 4.83
  107. Making 2.5D chromaticity-addressed lookup table for XYZ correction...
  108. 4.17% of the patches was put in a chromaticity group due to nearby neighbor.
  109. 25.00% of the patches was removed due to being nearby the whitepoint.
  110. Largest chromaticity group contains 2 patches. Patch count reduced from
  111. 24 to 17. Note that patch matching cannot reach 100% when chromaticity
  112. groups are formed, as the LUT matches the average within a group.
  113. Lightness axis is disabled. Since lightness affects chroma, the LUT chroma
  114. control points are recalculated to better match the uncorrected lightness.
  115. A residual error of up to about 0.2 DE is expected.
  116. Relaxing LUT stretch with up to 3.93 DE. Iterating over 17 patches...
  117. Lightness correction is disabled.
  118. Average DE for the 17 tested patches increased to 1.79 after LUT relax.
  119. 35.29% could do without LUT correction.
  120. Native LUT patch match average DE 1.65, DE LCh 0.82 0.81 0.88
  121. median DE 1.61, DE LCh 0.93 0.73 0.84
  122. p90 DE 2.18, DE LCh 1.55 1.99 1.50
  123. max DE 3.22, DE LCh 1.86 3.15 1.69
  124. 5 worst patches for Overall DE:
  125. B06 RGB 0.362 0.373 0.091 XYZref 0.537 0.477 0.066 XYZcam 0.513 0.471 0.096 sRGB #F7A62B #EDA948 DE 3.22 DE LCh -0.29 -3.15 +0.59 (light strong orange)
  126. C04 RGB 0.439 0.556 0.112 XYZref 0.663 0.666 0.082 XYZcam 0.647 0.661 0.112 sRGB #FECE20 #FCCF43 DE 2.77 DE LCh -0.14 -2.43 +1.32 (light vivid yellow)
  127. C03 RGB 0.206 0.086 0.040 XYZref 0.242 0.140 0.042 XYZcam 0.259 0.154 0.053 sRGB #C0333A #C43A43 DE 2.18 DE LCh +1.86 -0.53 -1.02 (strong red)
  128. B01 RGB 0.340 0.242 0.063 XYZref 0.445 0.342 0.053 XYZcam 0.452 0.349 0.068 sRGB #EE802F #EE833E DE 2.18 DE LCh +0.48 -1.28 -1.69 (strong orange)
  129. B05 RGB 0.233 0.459 0.124 XYZref 0.390 0.485 0.099 XYZcam 0.388 0.477 0.120 sRGB #AFC245 #AEC055 DE 2.16 DE LCh -0.35 -1.99 +0.78 (light strong yellow-green)
  130. 5 worst patches for Lightness DE:
  131. C03 RGB 0.206 0.086 0.040 XYZref 0.242 0.140 0.042 XYZcam 0.259 0.154 0.053 sRGB #C0333A #C43A43 DE 2.18 DE LCh +1.86 -0.53 -1.02 (strong red)
  132. 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.01 DE LCh +1.66 -0.93 +0.61 (dark purple)
  133. A03 RGB 0.104 0.243 0.219 XYZref 0.187 0.202 0.287 XYZcam 0.200 0.217 0.293 sRGB #5780A3 #5E84A4 DE 1.72 DE LCh +1.55 -0.80 -0.28 (purple-blue)
  134. D06 RGB 0.024 0.041 0.027 XYZref 0.034 0.035 0.030 XYZcam 0.040 0.041 0.035 sRGB #343435 #383939 DE 1.61 DE LCh +1.54 -0.21 -0.45 (gray 20%)
  135. A04 RGB 0.078 0.155 0.063 XYZref 0.121 0.146 0.059 XYZcam 0.131 0.157 0.067 sRGB #626F44 #667349 DE 1.53 DE LCh +1.44 -0.53 +0.12 (yellow-green)
  136. 5 worst patches for Chroma DE:
  137. B06 RGB 0.362 0.373 0.091 XYZref 0.537 0.477 0.066 XYZcam 0.513 0.471 0.096 sRGB #F7A62B #EDA948 DE 3.22 DE LCh -0.29 -3.15 +0.59 (light strong orange)
  138. C04 RGB 0.439 0.556 0.112 XYZref 0.663 0.666 0.082 XYZcam 0.647 0.661 0.112 sRGB #FECE20 #FCCF43 DE 2.77 DE LCh -0.14 -2.43 +1.32 (light vivid yellow)
  139. B05 RGB 0.233 0.459 0.124 XYZref 0.390 0.485 0.099 XYZcam 0.388 0.477 0.120 sRGB #AFC245 #AEC055 DE 2.16 DE LCh -0.35 -1.99 +0.78 (light strong yellow-green)
  140. C02 RGB 0.088 0.272 0.099 XYZref 0.165 0.252 0.086 XYZcam 0.174 0.258 0.099 sRGB #51994E #569A56 DE 1.53 DE LCh +0.51 -1.31 +0.60 (yellow-green)
  141. B01 RGB 0.340 0.242 0.063 XYZref 0.445 0.342 0.053 XYZcam 0.452 0.349 0.068 sRGB #EE802F #EE833E DE 2.18 DE LCh +0.48 -1.28 -1.69 (strong orange)
  142. 5 worst patches for Hue DE:
  143. B01 RGB 0.340 0.242 0.063 XYZref 0.445 0.342 0.053 XYZcam 0.452 0.349 0.068 sRGB #EE802F #EE833E DE 2.18 DE LCh +0.48 -1.28 -1.69 (strong orange)
  144. C05 RGB 0.258 0.177 0.173 XYZref 0.341 0.221 0.255 XYZcam 0.356 0.231 0.247 sRGB #C8599B #CE5B98 DE 1.88 DE LCh +1.05 -0.10 +1.55 (purple-red)
  145. A02 RGB 0.321 0.353 0.202 XYZref 0.434 0.387 0.214 XYZcam 0.459 0.407 0.234 sRGB #D29987 #D89C8D DE 1.88 DE LCh +1.14 -0.05 -1.50 (red)
  146. A01 RGB 0.091 0.096 0.048 XYZref 0.130 0.113 0.057 XYZcam 0.129 0.113 0.053 sRGB #7C5547 #7C5544 DE 1.47 DE LCh +0.00 +0.24 +1.45 (dark brown)
  147. C01 RGB 0.032 0.094 0.149 XYZref 0.077 0.064 0.235 XYZcam 0.079 0.069 0.229 sRGB #00499A #004A98 DE 1.31 DE LCh +0.93 -1.10 -1.45 (dark purple-blue)
  148. 5 best patches for Overall DE:
  149. 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%)
  150. B03 RGB 0.264 0.144 0.085 XYZref 0.331 0.217 0.112 XYZcam 0.343 0.220 0.113 sRGB #D25865 #D75565 DE 0.95 DE LCh +0.31 +0.85 -0.28 (red)
  151. D04 RGB 0.122 0.212 0.137 XYZref 0.202 0.209 0.174 XYZcam 0.204 0.212 0.172 sRGB #7D7E7E #7F7F7D DE 0.96 DE LCh +0.28 +0.17 -0.90 (gray 50%)
  152. D05 RGB 0.060 0.105 0.069 XYZref 0.094 0.098 0.083 XYZcam 0.100 0.104 0.086 sRGB #575859 #5A5B5A DE 1.23 DE LCh +1.01 -0.10 -0.68 (gray 40%)
  153. C01 RGB 0.032 0.094 0.149 XYZref 0.077 0.064 0.235 XYZcam 0.079 0.069 0.229 sRGB #00499A #004A98 DE 1.31 DE LCh +0.93 -1.10 -1.45 (dark purple-blue)
  154. Writing output to "daylight.json"...
  155. Complete!
  156. make-dcp ----------------------------------------
  157. Camera: NIKON D810
  158. Copyright: RawTherapee CC0
  159. Curve: acr
  160. TRO: neutral
  161. Gamut: none
  162. Enter DCP filename suffix, if any:
  163. Generating 2.5D HueSatMap with 90x30 = 2700 entries...done!
  164. The tone curve's contrast value is 1.30 (=> auto chroma scaling value 1.121)
  165. Generating 3D LookTable with 90x30x30 = 81000 entries for the neutral tone reproduction operator...
  166. 0%..10%..20%..30%..40%..50%..60%..70%..80%..90%..100%
  167. Writing output to "NIKON D810.dcp"...
  168. Complete!