Defines RLAB colour appearance model objects:
References
[1] | Mark D. Fairchild, Refinement of the RLAB color space, Color Research & Application, Volume 21, Issue 5, pages 338–346, October 1996, https://ritdml.rit.edu/bitstream/handle/1850/7857/MFairchildArticle12-06-1998.pdf (Last accessed 16 August 2014) |
[2] | Mark D. Fairchild, Color Appearance Models, 3nd Edition, The Wiley-IS&T Series in Imaging Science and Technology, published June 2013, ASIN: B00DAYO8E2, locations 6019-6178. |
RLAB colour appearance model precomputed helper matrix.
R_MATRIX : array_like, (3, 3)
Reference RLAB colour appearance model viewing conditions.
RLAB colour appearance model Discounting-the-Illuminant factor values.
Aliases:
Bases: colour.appearance.rlab.RLAB_ReferenceSpecification
Defines the RLAB colour appearance model reference specification.
This specification has field names consistent with Mark D. Fairchild reference.
Parameters: |
|
---|
Bases: colour.appearance.rlab.RLAB_Specification
Defines the RLAB colour appearance model specification.
This specification has field names consistent with the remaining colour appearance models in colour.appearance but diverge from Mark D. Fairchild reference.
Parameters: |
|
---|
Computes the RLAB model color appearance correlates.
Parameters: |
|
---|---|
Returns: | RLAB colour appearance model specification. |
Return type: | RLAB_Specification |
Warning
The input domain of that definition is non standard!
Notes
Examples
>>> XYZ = np.array([19.01, 20, 21.78])
>>> XYZ_n = np.array([109.85, 100, 35.58])
>>> Y_n = 31.83
>>> sigma = RLAB_VIEWING_CONDITIONS['Average']
>>> D = RLAB_D_FACTOR['Hard Copy Images']
>>> XYZ_to_RLAB(XYZ, XYZ_n, Y_n, sigma, D)
RLAB_Specification(J=49.8347069..., C=54.8700585..., h=286.4860208..., s=1.1010410..., HC=None, a=15.5711021..., b=-52.6142956...)