cie94: Get the CIE94 color difference between two CIELab values.

Description Usage Arguments Value References

View source: R/colordiff.R

Description

Get the CIE94 color difference between two CIELab values.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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.


ColorNameR documentation built on July 8, 2021, 9:07 a.m.