diff options
Diffstat (limited to 'test_example.py')
-rw-r--r-- | test_example.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test_example.py b/test_example.py index 6be982d..80b07c7 100644 --- a/test_example.py +++ b/test_example.py @@ -13,7 +13,8 @@ cc_ref = np.array([ 18.70184886, -13.19804478, 2.12180137]) if __name__ == "__main__": - XYZ = sRGB_to_XYZ(eotf_inverse_sRGB(RGB_ref), D65_xy) + #XYZ = sRGB_to_XYZ(eotf_inverse_sRGB(RGB_ref), D65_xy) + XYZ = np.array([1/3, 1/4, 1/3]) Lab = XYZ_to_Lab(XYZ, D65_xy) print("Target: X=%g, Y=%g, Z=%g, L=%g, a=%g, b=%g" % (*XYZ, *Lab)) |