Learn R Programming

colorscience (version 1.0.8)

RGB2YIQ: Convert RGB coordinates to YIQ

Description

RGB2YIQ Converts RGB coordinates to YIQ.

Usage

RGB2YIQ(RGBmatrix)

Arguments

RGBmatrix

RGB coordinates

Value

YIQ 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)
RGB2YIQ(RGB)
# }

Run the code above in your browser using DataLab