%
% date of creation: 2024-11-12 18:34:01 
%

% Image: color-D50.raw
% Backgr.: N/A
% LSC Profile: D50_100_NORMAL.txt

wb = [1.8516120260329128  1.0000000000000000  2.2817809317944744];

ctm = 	[1.8652767419967078, -0.5063940406986945, -0.3588827012980132
	 -0.6079346162238952, 2.3543981546218404, -0.7464635383979454
	 -0.1407269724915167, -0.8741893512282354, 2.0149163237197523];

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

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 = [
      77.920,	 220.164,	  76.976,	  60.987,	 131.978,	 120.137, 
     244.185,	  58.388,	 200.907,	  53.827,	 163.714,	 272.302, 
      32.364,	  63.864,	 173.670,	 301.703,	 206.478,	  47.805, 
     402.510,	 271.920,	 171.677,	  93.180,	  50.062,	  22.999, 
];

target_raw_green = [
     102.401,	 271.952,	 182.512,	 122.078,	 220.230,	 370.720, 
     221.455,	 145.265,	 152.352,	  72.782,	 334.307,	 306.570, 
      88.364,	 196.251,	 106.628,	 409.565,	 179.494,	 201.401, 
     731.536,	 503.110,	 321.063,	 174.001,	  95.336,	  43.304, 
];

target_raw_blue = [
      36.983,	  99.281,	 106.471,	  39.809,	 130.292,	 163.323, 
      44.310,	 116.413,	  55.131,	  44.661,	  74.472,	  56.027, 
      81.854,	  57.673,	  32.915,	  68.502,	  97.767,	 127.768, 
     312.419,	 219.055,	 140.270,	  75.622,	  43.022,	  20.566, 
];

avgRGB = [3.866,	   7.159,	   3.137,]; % average over target image!

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

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