%
% date of creation: 2024-11-06 11:29:34 
%

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

wb = [2.3248276340066254  1.0000000000000000  1.8888860653591919];

ctm = 	[1.9000327574789975, -0.5120333835725639, -0.3879993739064335
	 -0.5780691704451779, 2.3979581096383806, -0.8198889391932025
	 -0.1778698812665710, -0.9081298326223485, 2.0859997138889192];

% 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 = [
      37.752,	 105.839,	  39.013,	  30.091,	  63.336,	  61.157, 
     118.124,	  30.929,	  95.971,	  26.068,	  80.899,	 129.875, 
      17.963,	  33.576,	  82.361,	 149.434,	  98.822,	  26.135, 
     203.463,	 138.833,	  88.113,	  47.382,	  25.292,	  11.340, 
];

target_raw_green = [
      61.796,	 164.256,	 116.956,	  74.203,	 138.514,	 231.789, 
     127.598,	  97.442,	  89.244,	  45.907,	 202.950,	 176.970, 
      60.651,	 124.314,	  60.816,	 244.598,	 109.227,	 133.088, 
     464.299,	 321.248,	 205.741,	 111.271,	  61.090,	  27.723, 
];

target_raw_blue = [
      27.442,	  72.837,	  82.338,	  29.245,	  99.957,	 121.119, 
      31.056,	  93.215,	  41.358,	  34.911,	  52.325,	  38.119, 
      65.893,	  42.204,	  23.626,	  46.392,	  76.389,	  97.843, 
     240.182,	 169.719,	 109.438,	  58.540,	  32.916,	  15.314, 
];

avgRGB = [81.906,	 191.113,	 101.553,]; % average over target image!

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

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