colour.adaptation.dataset.cat Module

Chromatic Adaptation Transforms

Defines various chromatic adaptation transforms (CAT):

References

[1](1, 2, 3, 4, 5, 6) Lindbloom, B. (2009). Chromatic Adaptation. Retrieved February 24, 2014, from http://brucelindbloom.com/Eqn_ChromAdapt.html
[2](1, 2) Fairchild, M. D. (n.d.). Fairchild YSh. Retrieved from http://rit-mcsl.org/fairchild//files/FairchildYSh.zip
[3](1, 2) Wikipedia. (n.d.). CAT02. Retrieved February 24, 2014, from http://en.wikipedia.org/wiki/CIECAM02#CAT02
[4](1, 2, 3, 4, 5, 6) Bianco, S., & Schettini, R. (2010). Two New von Kries Based Chromatic Adaptation Transforms Found by Numerical Optimization. Color Research & Application, 35(3), 184–192. doi:10.1002/col.20573
[5](1, 2, 3, 4) Westland, S., Ripamonti, C., & Cheung, V. (2012). CMCCAT97. In Computational Colour Science Using MATLAB (2nd ed., p. 80). ISBN:978-0-470-66569-5
[6](1, 2) Brill, M. H., & Süsstrunk, S. (2008). Repairing gamut problems in CIECAM02: A progress report. Color Research & Application, 33(5), 424–426. doi:10.1002/col.20432
[7]Li, C., Perales, E., Luo, M. R., & Martínez-verdú, F. (2007). The Problem with CAT02 and Its Correction, (July), 1–10.
colour.adaptation.dataset.cat.XYZ_SCALING_CAT = array([[ 1., 0., 0.], [ 0., 1., 0.], [ 0., 0., 1.]])

XYZ Scaling chromatic adaptation transform. [1]

XYZ_SCALING_CAT : array_like, (3, 3)

colour.adaptation.dataset.cat.VON_KRIES_CAT = array([[ 0.40024, 0.7076 , -0.08081], [-0.2263 , 1.16532, 0.0457 ], [ 0. , 0. , 0.91822]])

Von Kries chromatic adaptation transform. [1]

VON_KRIES_CAT : array_like, (3, 3)

colour.adaptation.dataset.cat.BRADFORD_CAT = array([[ 0.8951, 0.2664, -0.1614], [-0.7502, 1.7135, 0.0367], [ 0.0389, -0.0685, 1.0296]])

Bradford chromatic adaptation transform. [1]

BRADFORD_CAT : array_like, (3, 3)

colour.adaptation.dataset.cat.SHARP_CAT = array([[ 1.2694, -0.0988, -0.1706], [-0.8364, 1.8006, 0.0357], [ 0.0297, -0.0315, 1.0018]])

Sharp chromatic adaptation transform. [4]

SHARP_CAT : array_like, (3, 3)

colour.adaptation.dataset.cat.FAIRCHILD_CAT = array([[ 0.8562, 0.3372, -0.1934], [-0.836 , 1.8327, 0.0033], [ 0.0357, -0.0469, 1.0112]])

Fairchild chromatic adaptation transform. [2]

FAIRCHILD_CAT : array_like, (3, 3)

colour.adaptation.dataset.cat.CMCCAT97_CAT = array([[ 0.8951, -0.7502, 0.0389], [ 0.2664, 1.7135, 0.0685], [-0.1614, 0.0367, 1.0296]])

CMCCAT97 chromatic adaptation transform. [5]

CMCCAT97_CAT : array_like, (3, 3)

colour.adaptation.dataset.cat.CMCCAT2000_CAT = array([[ 7.98200000e-01, 3.38900000e-01, -1.37100000e-01], [ -5.91800000e-01, 1.55120000e+00, 4.06000000e-02], [ 8.00000000e-04, 2.39000000e-02, 9.75300000e-01]])

CMCCAT2000 chromatic adaptation transform. [5]

CMCCAT2000_CAT : array_like, (3, 3)

colour.adaptation.dataset.cat.CAT02_CAT = array([[ 0.7328, 0.4296, -0.1624], [-0.7036, 1.6975, 0.0061], [ 0.003 , 0.0136, 0.9834]])

CAT02 chromatic adaptation transform. [3]

CAT02_CAT : array_like, (3, 3)

colour.adaptation.dataset.cat.CAT02_BRILL_CAT = array([[ 0.7328, 0.4296, -0.1624], [-0.7036, 1.6975, 0.0061], [ 0. , 0. , 1. ]])

Brill and Süsstrunk (2008) corrected CAT02 chromatic adaptation transform. [6] [7]

CAT02_BRILL_CAT : array_like, (3, 3)

colour.adaptation.dataset.cat.BS_CAT = array([[ 0.8752, 0.2787, -0.1539], [-0.8904, 1.8709, 0.0195], [-0.0061, 0.0162, 0.9899]])

Bianco and Schettini (2010) chromatic adaptation transform. [4]

BS_CAT : array_like, (3, 3)

colour.adaptation.dataset.cat.BS_PC_CAT = array([[ 0.6489, 0.3915, -0.0404], [-0.3775, 1.3055, 0.072 ], [-0.0271, 0.0888, 0.9383]])

Bianco and Schettini PC (2010) chromatic adaptation transform. [4]

BS_PC_CAT : array_like, (3, 3)

Notes

  • This chromatic adaptation transform has no negative lobes.
colour.adaptation.dataset.cat.CHROMATIC_ADAPTATION_TRANSFORMS = CaseInsensitiveMapping({u'Bradford': array([[ 0.8951, 0.2664, -0.1614], [-0.7502, 1.7135, 0.0367], [ 0.0389, -0.0685, 1.0296]]), u'Fairchild': array([[ 0.8562, 0.3372, -0.1934], [-0.836 , 1.8327, 0.0033], [ 0.0357, -0.0469, 1.0112]]), u'CAT02_BRILL_CAT': array([[ 0.7328, 0.4296, -0.1624], [-0.7036, 1.6975, 0.0061], [ 0. , 0. , 1. ]]), u'CAT02': array([[ 0.7328, 0.4296, -0.1624], [-0.7036, 1.6975, 0.0061], [ 0.003 , 0.0136, 0.9834]]), u'Von Kries': array([[ 0.40024, 0.7076 , -0.08081], [-0.2263 , 1.16532, 0.0457 ], [ 0. , 0. , 0.91822]]), u'CMCCAT97': array([[ 0.8951, -0.7502, 0.0389], [ 0.2664, 1.7135, 0.0685], [-0.1614, 0.0367, 1.0296]]), u'XYZ Scaling': array([[ 1., 0., 0.], [ 0., 1., 0.], [ 0., 0., 1.]]), u'Bianco PC': array([[ 0.6489, 0.3915, -0.0404], [-0.3775, 1.3055, 0.072 ], [-0.0271, 0.0888, 0.9383]]), u'Sharp': array([[ 1.2694, -0.0988, -0.1706], [-0.8364, 1.8006, 0.0357], [ 0.0297, -0.0315, 1.0018]]), u'Bianco': array([[ 0.8752, 0.2787, -0.1539], [-0.8904, 1.8709, 0.0195], [-0.0061, 0.0162, 0.9899]]), u'CMCCAT2000': array([[ 7.98200000e-01, 3.38900000e-01, -1.37100000e-01], [ -5.91800000e-01, 1.55120000e+00, 4.06000000e-02], [ 8.00000000e-04, 2.39000000e-02, 9.75300000e-01]])})

Supported chromatic adaptation transforms.

CHROMATIC_ADAPTATION_TRANSFORMS : CaseInsensitiveMapping
{‘CAT02’, ‘XYZ Scaling’, ‘Von Kries’, ‘Bradford’, ‘Sharp’, ‘Fairchild, ‘CMCCAT97’, ‘CMCCAT2000’, ‘CAT02_BRILL_CAT’, ‘Bianco’, ‘Bianco PC’}