%
% date of creation: 2024-11-06 11:33:36 
%

% Image: color-H.raw
% Backgr.: N/A
% LSC Profile: LSC gains inherit the former module data

wb = [1.0000000000000000  1.0200902541163153  4.7515371953611147];

ctm = 	[1.3529419716823272, 0.6062555407833619, -0.9591975124656890
	 -0.7401131202984739, 2.1395907259551787, -0.3994776056567049
	 -0.1657566224482461, -1.7656296298355707, 2.9313862522838168];

% 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  1  1  1  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 = [
     116.687,	 359.297,	 113.110,	  89.945,	 216.253,	 164.327, 
     350.287,	  74.622,	 312.114,	  79.215,	 224.539,	 397.120, 
      32.694,	  69.546,	 254.629,	 402.325,	 292.542,	  46.647, 
     442.201,	 307.197,	 196.082,	 105.316,	  54.743,	  23.363, 
];

target_raw_green = [
      84.908,	 241.618,	 130.504,	  97.399,	 167.333,	 266.373, 
     206.420,	  83.452,	 146.267,	  51.696,	 258.439,	 275.414, 
      40.420,	 119.029,	 100.013,	 327.443,	 142.315,	  98.285, 
     425.701,	 299.681,	 193.313,	 104.331,	  55.160,	  23.662, 
];

target_raw_blue = [
     15.052,	  46.317,	  36.905,	  17.265,	  47.918,	  63.666, 
     24.718,	  32.149,	  25.515,	  14.342,	  36.641,	  33.278, 
     18.483,	  21.532,	  17.277,	  38.908,	  32.954,	  35.583, 
     90.061,	  64.264,	  41.623,	  22.172,	  12.175,	   5.398, 
];

avgRGB = [194.151,	 190.996,	  41.201,]; % average over target image!

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

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