pth_mat_gamut: Get colors on sRGB grid

View source: R/gamut.R

pth_mat_gamutR Documentation

Get colors on sRGB grid

Description

Get colors on sRGB grid

Usage

pth_mat_gamut(
  n_point = 5,
  transformer = pth_to_cieluv,
  set = c("edge", "vertex", "surface", "all")
)

Arguments

n_point

integer number of points along a dimension

transformer

function used to transform the colors to new color space, e.g. pth_to_cieluv.

set

character indicates the geometry to which to limit the points on the gamut.

Value

matrix with S3 class pth_mat.


ijlyttle/colorpath documentation built on Sept. 13, 2022, 7:44 p.m.