Change bad values XYZ ACES and small changes to primaries ACES
This commit is contained in:
@@ -78,95 +78,19 @@ constexpr double xyz_sRGB[3][3] = {
|
||||
{0.2225045, 0.7168786, 0.0606169},
|
||||
{0.0139322, 0.0971045, 0.7141733}
|
||||
};
|
||||
/*
|
||||
//from Elle Stone
|
||||
|
||||
constexpr double xyz_ACESc[3][3] = {
|
||||
{0.68988, 0.14977, 0.12456},
|
||||
{0.28452, 0.67169, 0.04379},
|
||||
{-0.00604, 0.01001, 0.82094}
|
||||
{0.9525523959, 0.0, 0.0000936786},
|
||||
{0.3439664498, 0.7281660966 , -0.0721325464},
|
||||
{0.0, -0.0, 1.0088251844}
|
||||
};
|
||||
|
||||
constexpr double ACESc_xyz[3][3] = {
|
||||
{1.592666, -0.351803, -0.222887},
|
||||
{-0.675936, 1.639273, 0.015117},
|
||||
{0.0199598, -0.022576, 1.2162916}
|
||||
{1.0498110175, 0.0, -0.0000974845},
|
||||
{-0.4959030231, 1.3733130458 , 0.0982400361},
|
||||
{0.0, 0.0, 0.9912520182}
|
||||
};
|
||||
|
||||
|
||||
//Matrix ACESc from LCMS calculation same as ACES.icm , used after with Bradford transformation D60
|
||||
constexpr double xyz_ACESc[3][3] = {
|
||||
{0.99089, 0.01224, -0.03893},
|
||||
{0.36189, 0.72252, -0.08441},
|
||||
{-0.00272, 0.00826, 0.81937}
|
||||
};
|
||||
*/
|
||||
/*
|
||||
//matrix from Alberto
|
||||
//wrong result
|
||||
constexpr double ACESc_xyz[3][3] = {
|
||||
{0.99089050, 0.36189270, -0.00271606},
|
||||
{0.01223755, 0.72251892, 0.00825500},
|
||||
{-0.03892517, -0.08441162, 0.81936646}
|
||||
};
|
||||
constexpr double xyz_ACESc[3][3] = {
|
||||
{1.015496031, -0.50764724, 0.008480669},
|
||||
{-0.01723464, 1.391035243 , -0.01407161},
|
||||
{0.003048736, 0.140893628, 1.219045754}
|
||||
};
|
||||
|
||||
*/
|
||||
/*
|
||||
//matrix fromAlberto symetric above quasi the same as the one I take, only precision!
|
||||
//wrong result
|
||||
constexpr double ACESc_xyz[3][3] = {
|
||||
{0.99089050, 0.01223755, -0.03892517},
|
||||
{0.36189270, 0.72251892, -0.08441162},
|
||||
{-0.00271606, 0.0082550, 0.81936646}
|
||||
};
|
||||
constexpr double xyz_ACESc[3][3] = {
|
||||
{1.015496031, -0.01723464, 0.003048736},
|
||||
{-0.50764724, 1.391035243 , 0.140893628},
|
||||
{0.008480669, -0.01407161, 1.219045754}
|
||||
};
|
||||
*/
|
||||
/*
|
||||
constexpr double xyz_ACESc[3][3] = {
|
||||
{0.9699974, 0.432792, -0.04566},
|
||||
{0.237431, 0.52681, -0.05590},
|
||||
{0.127169, 0.043493, 0.793903}
|
||||
};
|
||||
|
||||
*/
|
||||
/*
|
||||
//with Bradford adaptation D50 D60 J.Desmis 04 2018
|
||||
// ACESc_xyz = matrix ACESc * matrix d60 D50 from Matrix ACESc from LCMS calculation same as ACES.icm
|
||||
constexpr double ACESc_xyz[3][3] = {
|
||||
{0.956674714, 0.334059262, 0.033764461},
|
||||
{-0.00914767, 0.719456271 , 0.020585086},
|
||||
{-0.03959528, -0.11114562, 1.008891993}
|
||||
};
|
||||
|
||||
constexpr double xyz_ACESc[3][3] = {
|
||||
{1.039605861, -0.48655298, -0.0248649},
|
||||
{0.012013027, 1.379948826 , -0.02855804},
|
||||
{0.04212411, 0.132928069, 0.987064397}
|
||||
};
|
||||
//end modification ACES matrix
|
||||
*/
|
||||
constexpr double ACESc_xyz[3][3] = {
|
||||
{0.9525523959, 0.3439664498, 0.0},
|
||||
{0.000000, 0.7281660966 , 0.0},
|
||||
{0.0000936786, -0.0721325464, 1.0088251844}
|
||||
};
|
||||
|
||||
constexpr double xyz_ACESc[3][3] = {
|
||||
{1.0498110175, -0.4959030231, 0.0},
|
||||
{0.0, 1.3733130458 , 0.0},
|
||||
{-0.0000974845, 0.0982400361, 0.9912520182}
|
||||
};
|
||||
//end modification ACES matrix
|
||||
|
||||
|
||||
constexpr double sRGB_xyz[3][3] = {
|
||||
{3.1338561, -1.6168667, -0.4906146},
|
||||
{ -0.9787684, 1.9161415, 0.0334540},
|
||||
|
Reference in New Issue
Block a user