Learn R Programming

colorscience (version 1.0.8)

RGB2YUV: Convert RGB coordinates to YUV

Description

RGB2YUV Converts RGB coordinates to YUV.

Usage

RGB2YUV(RGBmatrix)

Arguments

RGBmatrix

RGB coordinates

Value

YUV coordinates

Examples

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

Run the code above in your browser using DataLab