FindUniformSequence {colorpatch} | R Documentation |
Finds a uniform color sequence within a non-uniform palette by subsampling that palette
Description
Finds a uniform color sequence within a non-uniform palette by subsampling that palette
Usage
FindUniformSequence(P, n.out, reverse = FALSE, delta = NULL,
col.dist.fun = DistColorFun("LAB"))
Arguments
P |
input color palette (must be a class derived from colorspace::color) |
n.out |
number of output colors (must be less than length(P)) |
reverse |
shall the searching be performed from the end of the palette to the beginning |
delta |
the perceptual difference to be achieved between two adjecent colors |
col.dist.fun |
function mapping two colors to a numeric distance |
Value
a optimized palette (sub-set of P)
[Package colorpatch version 0.1.2 Index]