[argyllcms] Re: Digital Camera Profiling from ColorChecker 24

  • From: <graxx@xxxxxxxxxxxx>
  • To: <argyllcms@xxxxxxxxxxxxx>
  • Date: Sun, 17 Jan 2021 20:14:15 -0500

Found the culprit 😊

https://1drv.ms/u/s!AkD78CVR1NBqlrlw81DJ6sZtI3dZ8Q?e=gkm3on

 

Much better. 

I had the patches in the wrong order in the measurements file.

 

/ Roger

 

From: argyllcms-bounce@xxxxxxxxxxxxx <argyllcms-bounce@xxxxxxxxxxxxx> On Behalf 
Of graxx@xxxxxxxxxxxx
Sent: Sunday, January 17, 2021 12:33 PM
To: argyllcms@xxxxxxxxxxxxx
Subject: [argyllcms] Digital Camera Profiling from ColorChecker 24

 

I’m getting my feet wet into digital camera profiling with Argyll and I’m 
getting weird results:

https://1drv.ms/u/s!AkD78CVR1NBqlrlvG2cV9pjiSQ1aOA?e=YhZswg

 

This is partial listing of ColorCkecher.cht :

 

EXPECTED XYZ 24

  A1        11.773 10.213 4.9219

  A2        40.174 36.201 20.217

  A3        17.675 19.409 26.983

  A4        11.121 13.530 5.5615

  A5        25.551 24.404 34.847

  A6        31.744 43.164 35.249

  B1        40.056 30.947 4.8180

  B2        12.544 11.700 28.648

  B3        30.675 20.352 10.837

  B4        8.3961 6.5047 10.849

  B5        36.036 44.991 8.9494

  B6        50.203 44.570 6.2773

  C1        7.4590 6.0952 23.518

  C2        15.439 23.986 7.7482

  C3        22.850 13.022 4.1188

  C4        59.637 60.332 7.3520

  C5        30.450 20.015 22.947

  C6        13.591 19.466 30.479

  D1        86.776 90.361 70.642

  D2        56.865 59.038 48.218

  D3        34.763 36.036 29.378

  D4        18.884 19.603 16.309

  D5        8.4332 8.7464 7.1022

  D6        3.0110 3.0971 2.5475

 

I did not create my custom measurement file using Argyll (it does not support 
MYIRO).

This is how my measurement file looks like :

 

LGOROWLENGTH 12                                                                 
                                                                                
                                                                   

ORIGINATOR "ColorChecker24"                                                     
                                                                                
                                                                       

MANUFACTURER "X-Rite - http://www.xrite.com"                                    ;
                                                                                
                                                                                
                   

1/12/2021  # Time: 14:33                                                        
                                                                                
                                                                                
 

MYIRO ; Serial number XXXXX                                                     
                                                                                
                                                                          

NUMBER_OF_FIELDS 41                                                             
                                                                                
                                                                              

BEGIN_DATA_FORMAT                                                               
                                                                                
                                                              

SampleID SAMPLE_NAME LAB_L   LAB_A  LAB_B NM_380 NM_390 NM_400 NM_410 NM_420 
NM_430 NM_440 NM_450 NM_460 NM_470 NM_480 NM_490 NM_500 NM_510 NM_520 NM_530 
NM_540 NM_550 NM_560 NM_570 NM_580 NM_590 NM_600 NM_610 NM_620 NM_630 NM_640 
NM_650 NM_660 NM_670 NM_680 NM_690 NM_700 NM_710 NM_720 NM_730                  
                                                                                
                                                                                
                              

END_DATA_FORMAT                                                                 
                                                                                
                                                                

NUMBER_OF_SETS 24                                                               
                                                                                
                                                                 

BEGIN_DATA

1             A1          37.79999924       14.92000008       14.60999966       
0.0562   0.0591   0.0596   0.0607   0.0601   0.0594   0.0589                
0.0591   0.0593   0.059     0.0589   0.059     0.0611   0.0665   0.0717   
0.0738   0.0751   0.0781   0.0855   0.0987   0.117                0.1336   
0.1426   0.146     0.15       0.1578   0.1679   0.1783   0.1856   0.1863   
0.1808   0.1757   0.1774   0.1844   0.1963                0.2083

2             A2          62.02999878       34.04999924       58.74000168       
0.0515   0.0516   0.0498   0.0515   0.0518   0.0504   0.0502                
0.051     0.0519   0.0523   0.0527   0.0538   0.0613   0.0872   0.1271   0.1567 
  0.1728   0.1964   0.2463   0.3291   0.4334                0.5244   0.5698   
0.5768   0.5721   0.5678   0.5622   0.5557   0.5481   0.5421   0.5448   0.5553  
 0.5727   0.5901   0.5994                0.6088

3             A3          27.92000008       17.09000015       -48.66999817     
0.0623   0.0837   0.125     0.1461   0.1754   0.2065   0.2493                
0.3023   0.3059   0.2656   0.2031   0.1421   0.0968   0.0709   0.0573   0.0497  
 0.0455   0.043     0.0413   0.0403   0.0397                0.0394   0.0393   
0.0395   0.0398   0.0402   0.0405   0.041     0.0414   0.0417   0.0421   0.0431 
  0.0445   0.0466   0.0491                0.0516

4             A4          94.05999756       -1.029999971     2.880000114       
0.1098   0.2018   0.4346   0.606     0.7479   0.787     0.802                
0.8181   0.8295   0.8375   0.8439   0.8497   0.8538   0.8566   0.8575   0.8577  
 0.8578   0.8562   0.8528   0.8496   0.8509                0.8533   0.8532   
0.8532   0.8548   0.8575   0.8605   0.8657   0.8694   0.8706   0.8719   0.8727  
 0.8739   0.8738   0.8763                0.8789

5             B1           65.77999878       16.45999908       17.94000053      
 0.1006   0.1507   0.2086   0.222     0.2236   0.2224   0.2223                
0.2241   0.2258   0.2303   0.2424   0.2644   0.2888   0.3          0.2975   
0.2937   0.2911   0.2883   0.2877   0.3025   0.367                0.4448   
0.4808   0.4902   0.4995   0.5177   0.5408   0.5621   0.5743   0.5706   0.5539  
 0.5391   0.5389   0.5495   0.5661                0.5827

6             B2           39.65999985       8.659999847       -43.18999863     
0.0994   0.1614   0.2596   0.297     0.3267   0.3495   0.3703                
0.3821   0.3695   0.3406   0.298     0.2481   0.2005   0.1631   0.1348   0.1147 
  0.1026   0.0947   0.0885   0.0843   0.0822                0.0815   0.0809   
0.0804   0.08       0.0809   0.0837   0.0887   0.0957   0.1055   0.1195   
0.1393   0.1669   0.2028   0.247                0.2912

7             B3           53.41999817       -39.61000061     30.64999962       
0.0503   0.0528   0.0552   0.0558   0.0562   0.056     0.0576                
0.0624   0.0722   0.0878   0.1136   0.1535   0.2182   0.2936   0.33       
0.3211   0.3017   0.276     0.2406   0.2076   0.18                0.1518   
0.1226   0.0999   0.0865   0.0793   0.0746   0.0711   0.0688   0.0682   0.0689  
 0.0709   0.0735   0.0762   0.0774                0.0785

8             B4           79.44000244       -0.660000026     0.889999986       
0.111     0.1955   0.3781   0.4768   0.5285   0.5396   0.5466                
0.5532   0.5538   0.5529   0.5522   0.5531   0.5545   0.5563   0.5576   0.5585  
 0.5593   0.5591   0.559     0.5586   0.5586                0.5582   0.5567   
0.555     0.5533   0.5516   0.5494   0.5478   0.5457   0.5434   0.5423   0.5411 
  0.5403   0.5378   0.5356                0.5333

9             C1           49.77999878       -3.900000095     -22.84000015     
0.1056   0.1703   0.2667   0.2991   0.3102   0.3163   0.3252                
0.3327   0.3283   0.3186   0.3072   0.2955   0.2782   0.2536   0.2295   0.2125  
 0.1966   0.1746   0.1523   0.142     0.1507                0.1571   0.1511   
0.1429   0.1389   0.1375   0.1377   0.1415   0.1472   0.1489   0.1449   0.138   
  0.1296   0.1245   0.128                0.1316

10           C2           51.61000061       46.47000122       16.64999962       
0.087     0.1118   0.132     0.1363   0.1351   0.1325   0.1308                
0.1296   0.1262   0.1215   0.1158   0.11       0.1049   0.1007   0.0958   
0.0934   0.0928   0.0943   0.098     0.1096   0.1633                0.2797   
0.4104   0.4976   0.5365   0.5494   0.5505   0.5497   0.5544   0.5681   0.5886  
 0.6087   0.6259   0.632     0.6277                0.6234

11           C3           42.02000046       56.24000168       28.29000092       
0.049     0.0492   0.0485   0.0495   0.0488   0.0479   0.0474                
0.0472   0.0465   0.0452   0.0435   0.042     0.0415   0.0424   0.0421   0.042  
   0.0423   0.0449   0.0489   0.0546   0.0686                0.1059   0.1868   
0.3173   0.4665   0.5844   0.6551   0.6935   0.7139   0.7262   0.7366   0.7449  
 0.7545   0.7631   0.769                0.7749

12           C4           64.59999847       0.129999995       0.209999993       
0.1054   0.1717   0.2754   0.3132   0.3282   0.3312   0.3344                
0.3378   0.3367   0.3346   0.333     0.3324   0.3327   0.3334   0.3337   0.3338 
  0.3339   0.334     0.3352   0.3371   0.3392                0.3401   0.3394   
0.3378   0.3359   0.3337   0.3313   0.3291   0.3267   0.3246   0.323     0.3215 
  0.32        0.3184   0.3161                0.3138

13           D1          42.34000015       -14.27999973     20.06999969       
0.0491   0.0509   0.0558   0.0554   0.0566   0.0578   0.0603                
0.0625   0.0637   0.0645   0.0657   0.068     0.0761   0.1021   0.1457   0.1769 
  0.1798   0.162     0.1382   0.1207   0.1113                0.1059   0.101     
0.0972   0.0966   0.0993   0.1035   0.1073   0.1091   0.1077   0.1036   0.1003  
 0.1009   0.1036   0.1095                0.1154

14           D2          30.22999954       21.96999931       -20.01000023     
0.0822   0.1181   0.1647   0.1803   0.1871   0.1779   0.1602                
0.1374   0.1138   0.0949   0.081     0.0694   0.0608   0.0562   0.0532   0.0507 
  0.0497   0.0505   0.0521   0.0529   0.0526                0.053     0.058     
0.0723   0.0956   0.1206   0.1422   0.1632   0.1877   0.2181   0.2564   0.3016  
 0.3504   0.3964   0.4426                0.4889

15           D3          81.33000183       3.950000048       76.87000275       
0.0555   0.0576   0.0553   0.056     0.0565   0.0573   0.0604                
0.0659   0.0761   0.0904   0.1128   0.1473   0.2103   0.3166   0.4469   0.5467  
 0.6007   0.6317   0.6555   0.6753   0.6928                0.7057   0.7123   
0.716     0.7193   0.7231   0.7262   0.7295   0.7323   0.7366   0.7438   0.7509 
  0.7604   0.7674   0.7701                0.7727

16           D4          50.58000183       -0.949999988     0.090000004       
0.093     0.1302   0.1696   0.1788   0.1831   0.1853   0.1884                
0.1912   0.1905   0.1892   0.1881   0.1878   0.1884   0.1895   0.1904   0.1911  
 0.1912   0.1909   0.1905   0.1901   0.1898                0.1891   0.1877   
0.1862   0.1845   0.1829   0.1811   0.1795   0.1779   0.1764   0.1749   0.1737  
 0.1727   0.1709   0.1701                0.1692

17           E1           55.31999969       8.090000153       -24.45000076     
0.1116   0.1871   0.3142   0.3681   0.3962   0.4095   0.4195                
0.4256   0.4201   0.407     0.3852   0.352     0.3137   0.282     0.2528   
0.2274   0.2142   0.2088   0.2018   0.1951   0.1955                0.204     
0.2182   0.2303   0.2355   0.2447   0.2672   0.2993   0.3289   0.3436   0.3418  
 0.3352   0.3365   0.345     0.3588                0.3726

18           E2           71.37999725       -23.85000038     57.41999817       
0.0534   0.0569   0.059     0.0586   0.0593   0.0606   0.0641                
0.0702   0.0818   0.0989   0.1255   0.1682   0.2441   0.3554   0.46       
0.5172   0.5342   0.5294   0.5144   0.4923   0.4598                0.4141   
0.3634   0.3255   0.3053   0.2956   0.2888   0.285     0.2893   0.3045   0.3265 
  0.349     0.3675   0.3743   0.3709                0.3675

19           E3           51.38999939       50.54999924       -12.81000042     
0.1158   0.1832   0.2907   0.3276   0.3405   0.3358   0.3206                
0.2955   0.2648   0.237     0.2084   0.1796   0.1577   0.1409   0.119     
0.0998   0.0939   0.0983   0.1001   0.1054   0.1354                0.1991   
0.2886   0.396     0.5107   0.6112   0.6836   0.731     0.7597   0.7759   
0.7868   0.7948   0.8036   0.8113   0.8182                0.8252

20           E4           35.22000122       -0.889999986     -0.469999999     
0.0635   0.0747   0.0823   0.0844   0.0854   0.0866   0.0879                
0.0887   0.0881   0.0874   0.0868   0.0864   0.0867   0.087     0.0873   0.0875 
  0.0874   0.0871   0.0868   0.0864   0.086                0.0855   0.0848   
0.0841   0.0832   0.0824   0.0816   0.0809   0.0801   0.0795   0.0792   0.0785  
 0.078     0.0771   0.077                0.0769

21           F1           70.30000305       -32.93999863     0.150000006       
0.1079   0.1712   0.2608   0.2936   0.3139   0.3297   0.3481                
0.3746   0.4122   0.4558   0.4977   0.5352   0.5611   0.5693   0.5635   0.5462  
 0.5186   0.4803   0.4362   0.3907   0.3436                0.2948   0.2506   
0.2205   0.2042   0.1958   0.1896   0.1855   0.1867   0.1945   0.206     0.2178 
  0.227     0.229     0.2235                0.218

22           F2           71.44000244       19.02000046       66.68000031       
0.063     0.0677   0.0657   0.0647   0.0644   0.0645   0.0658                
0.0675   0.0692   0.0705   0.0724   0.0758   0.0889   0.1336   0.2208   0.311   
  0.3669   0.4071   0.4581   0.5177   0.5669                0.5941   0.6008   
0.6013   0.6109   0.6322   0.6573   0.6799   0.6914   0.6853   0.6727   0.6654  
 0.6723   0.687     0.7043                0.7216

23           F3           48.61999893       -27.72999954     -27.59000015     
0.0869   0.1282   0.1827   0.2069   0.227     0.249     0.2788                
0.318     0.3615   0.4041   0.4264   0.4259   0.4001   0.3564   0.3061   0.2551 
  0.2076   0.1641   0.1283   0.1043   0.0898                0.0806   0.0737   
0.0692   0.0673   0.0666   0.0666   0.0673   0.0691   0.0701   0.0701   0.069   
  0.0674   0.067     0.0697                0.0723

24           F4           21.44000053       0.140000001       -0.939999998     
0.0353   0.0351   0.0373   0.0367   0.0363   0.0358   0.0352                
0.0352   0.0351   0.0349   0.0345   0.0343   0.0341   0.034     0.0339   0.0337 
  0.0337   0.0335   0.0335   0.0334   0.0334                0.0333   0.0334   
0.0333   0.0334   0.0335   0.0335   0.0337   0.0338   0.0338   0.034     0.0343 
  0.0343   0.0346   0.0338                0.0331

END_DATA

 

----------------------------------

 

As can be seen, the data is in “Columns” then “Row” order.

I guess I have to massage the data around to match ColorChecker.cht layout, 
“Rows” then “Columns”?

 

I bet this is documented… Egg on my face for not finding it…

 

/ Roger Breton

Other related posts: