Learn R Programming

colorscience (version 1.0.8)

RGB2PhotoYCC: Convert RGB coordinates to PhotoYCC

Description

RGB2PhotoYCC Converts RGB coordinates to PhotoYCC.

Usage

RGB2PhotoYCC(RGBmatrix)

Arguments

RGBmatrix

RGB coordinates

Value

PhotoYCC coordinates

References

Alex Izvorski, Copyright 2003-2005 (Portions Copyright 2001-2003 by Alfred Reibenschuh) Graphics/ColorObject version 0.5.0 http://www.poynton.com/notes/colour_and_gamma/ColorFAQ.txt

Examples

Run this code
# NOT RUN {
RGB<-c(124,63,78)
RGB2PhotoYCC(RGB)
# }

Run the code above in your browser using DataLab