ColorDistance {colorpatch} | R Documentation |
Computes the perceptional distance between two neighboring colors
Description
Computes the perceptional distance between two neighboring colors
Usage
ColorDistance(pal, color.space = "LAB")
Arguments
pal |
the color palette |
color.space |
color space in which the distance shall be computed (default "LAB") |
Value
a vector of distances
Examples
data("OptimGreenRedLAB")
dd <- ColorDistance(OptimGreenRedLAB)
[Package colorpatch version 0.1.2 Index]