chanhe matrix rgb-xyz and xyz-rgb

This commit is contained in:
Desmis 2016-04-30 07:41:34 +02:00
parent e9beb1b69c
commit 12a5d90fe6

View File

@ -54,7 +54,7 @@ const double sRGB_xyz[3][3] = {{3.13593293538656, -1.61878246026431,
// Color space conversion to/from XYZ; color spaces adapted to D50 using Bradford transform // Color space conversion to/from XYZ; color spaces adapted to D50 using Bradford transform
const double xyz_sRGB[3][3] = {{0.4360747, 0.3850649, 0.1430804}, const double xyz_sRGB[3][3] = {{0.4360747, 0.385061, 0.1430804},
{0.2225045, 0.7168786, 0.0606169}, {0.2225045, 0.7168786, 0.0606169},
{0.0139322, 0.0971045, 0.7141733} {0.0139322, 0.0971045, 0.7141733}
}; };
@ -83,7 +83,7 @@ const double prophoto_xyz[3][3] = {{1.3459433, -0.2556075, -0.0511118},
{ -0.5445989, 1.5081673, 0.0205351}, { -0.5445989, 1.5081673, 0.0205351},
{0.0000000, 0.0000000, 1.2118128} {0.0000000, 0.0000000, 1.2118128}
}; };
/*
const double xyz_rec2020[3][3] = {{0.636958, 0.144617, 0.168881}, const double xyz_rec2020[3][3] = {{0.636958, 0.144617, 0.168881},
{0.262700, 0.677998, 0.059302}, {0.262700, 0.677998, 0.059302},
{0.0000000, 0.028073, 1.060985} {0.0000000, 0.028073, 1.060985}
@ -93,6 +93,16 @@ const double rec2020_xyz[3][3] = {{1.716651, -0.355671, -0.253366},
{ -0.666684, 1.616481, 0.015769}, { -0.666684, 1.616481, 0.015769},
{0.017640, -0.042771, 0.942103} {0.017640, -0.042771, 0.942103}
}; };
*/
const double xyz_rec2020[3][3] = {{0.6734241, 0.1656411, 0.1251286},
{0.2790177, 0.6753402, 0.0456377},
{ -0.0019300, 0.0299784, 0.7973330}
};
const double rec2020_xyz[3][3] = {{1.6473376, -0.3935675, -0.2359961},
{ -0.6826036, 1.6475887, 0.0128190},
{0.0296524, -0.0628993, 1.2531279}
};
const double xyz_widegamut[3][3] = {{0.7161046, 0.1009296, 0.1471858}, const double xyz_widegamut[3][3] = {{0.7161046, 0.1009296, 0.1471858},
{0.2581874, 0.7249378, 0.0168748}, {0.2581874, 0.7249378, 0.0168748},