%
% date of creation: 2024-11-12 18:38:43 
%

% Image: color-D75.raw
% Backgr.: N/A
% LSC Profile: N/A

wb = [2.2919749308773785  1.0000000000000000  1.8897839468292581];

ctm = 	[1.6779744014621161, -0.2900375222411958, -0.3879368792209203
	 -0.3934280711628933, 1.9735024369338419, -0.5800743657709486
	 -0.0863408606167363, -0.3833694085939194, 1.4697102692106556];

% Black Level Subtraction coefficients (red, green1, green2, blue)(Already subtracted with LSC.txt loaded): [65  65  65  65]

successional_color_offset = [0 0 0];
% Note: The additive offset is determined for 10-bit images!

% Weights for fitting:
%
% 1  1  1  1  1  1
% 1  1  1  1  1  1
% 1  2  2  2  1  1
% 1  1  1  1  1  1

%This output is for internal data exchange between the MATLAB tools. Do not edit!
%These values are the average of the linear raw color checker patches (with BLS+LSC and shading compensation using the background image (but without the BLS values entered in the GUI)!

target_raw_red = [
     100.608,	 166.488,	 102.935,	  94.342,	 126.273,	 123.198, 
     177.934,	  95.049,	 159.622,	  91.068,	 144.699,	 191.106, 
      81.965,	  97.878,	 146.965,	 213.424,	 162.660,	  90.328, 
     261.121,	 201.054,	 152.156,	 112.231,	  90.273,	  76.343, 
];

target_raw_green = [
     123.180,	 223.234,	 178.449,	 137.313,	 199.202,	 287.119, 
     187.709,	 160.414,	 152.649,	 110.195,	 264.944,	 237.067, 
     123.122,	 187.043,	 125.340,	 308.552,	 172.709,	 194.780, 
     515.241,	 380.748,	 268.629,	 174.782,	 124.544,	  91.204, 
];

target_raw_blue = [
      91.435,	 135.485,	 145.155,	  93.463,	 162.003,	 181.196, 
      95.049,	 156.958,	 105.748,	  99.913,	 116.381,	 102.114, 
     129.135,	 106.409,	  88.658,	 111.390,	 140.487,	 160.721, 
     299.622,	 232.711,	 173.404,	 123.473,	  97.914,	  80.315, 
];

avgRGB = [1.775,	   4.069,	   2.153,]; % average over target image!

saturation = [100]; % Target CC saturation value!

%-------------------------------------------------- 
