Learn R Programming

colorscience (version 1.0.8)

RGB2YPbPr: Convert RGB coordinates to YPbPr

Description

RGB2YPbPr Converts RGB coordinates to YPbPr.

Usage

RGB2YPbPr(RGBmatrix)

Arguments

RGBmatrix

RGB coordinates

Value

YPbPr 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)
RGB2YPbPr(RGB)
# }

Run the code above in your browser using DataLab