cie94 {ColorNameR} | R Documentation |
Get the CIE94 color difference between two CIELab values.
Description
Get the CIE94 color difference between two CIELab values.
Usage
cie94(
lab_color1,
lab_color2,
k_L = 1,
k_C = 1,
k_H = 1,
K1 = 0.045,
K2 = 0.015,
symmetric = FALSE
)
Arguments
lab_color1 |
A vector with three components corresponding to a Lab value. |
lab_color2 |
A vector with three components corresponding to another Lab value. |
k_L |
Weighting factor for the L component. |
k_C |
Weighting factor for the C component. |
k_H |
Weighting factor for the H component. |
K1 |
Application dependent weighting factor. |
K2 |
Application dependent weighting factor. |
symmetric |
If TRUE, use the symmetric version of the formula. |
Value
The CIE94 color difference between the two given values.
References
Sharma, G., & Bala, R. (Eds.). (2017). Digital color imaging handbook. CRC press.
[Package ColorNameR version 0.1.0 Index]