Learn R Programming

colorscience (version 1.0.8)

RGB2YCbCr: Convert RGB coordinates to YCbCr

Description

RGB2YCbCr Converts RGB coordinates to YCbCr.

Usage

RGB2YCbCr(RGBmatrix)

Arguments

RGBmatrix

RGB coordinates

Value

YCbCr 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)
RGB2YCbCr(RGB)
# }

Run the code above in your browser using DataLab