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

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

wb = [1.2192102032779708  1.0000000000000000  3.7068165901684678];

ctm = 	[1.5058566403094926, 0.1603430242265551, -0.6661996645360477
	 -0.6625449105120469, 2.2600895460799379, -0.5975446355678912
	 -0.1145288268770255, -1.3919547542140311, 2.5064835810910568];

% 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 = [
     143.813,	 428.064,	 138.279,	 109.110,	 254.999,	 207.925, 
     421.120,	  88.818,	 362.325,	  90.953,	 271.488,	 474.682, 
      38.653,	  84.925,	 287.499,	 471.136,	 334.370,	  57.405, 
     518.873,	 357.949,	 229.134,	 123.265,	  64.282,	  26.594, 
];

target_raw_green = [
     125.337,	 349.646,	 205.346,	 146.948,	 255.130,	 427.921, 
     282.732,	 132.694,	 195.351,	  74.399,	 383.409,	 384.338, 
      64.377,	 182.745,	 126.858,	 456.089,	 192.253,	 162.657, 
     619.885,	 434.305,	 281.108,	 151.507,	  80.491,	  33.159, 
];

target_raw_blue = [
      27.499,	  81.660,	  74.485,	  30.863,	  92.789,	 125.391, 
      38.159,	  66.358,	  41.079,	  26.594,	  62.781,	  50.601, 
      38.825,	  38.418,	  24.593,	  58.761,	  57.919,	  71.161, 
     164.699,	 117.094,	  76.054,	  40.462,	  22.028,	   9.393, 
];

avgRGB = [221.182,	 270.674,	  73.242,]; % average over target image!

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

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