color spaces
play

Color Spaces John C. Hart CS 418 Interactive Computer Graphics - PowerPoint PPT Presentation

Color Spaces John C. Hart CS 418 Interactive Computer Graphics RGB Additive Color Red, Green, Blue G Color model used in luminous displays (CRT, plasma, LCD) (yellow) Designed to stimulate each (cyan) kind of cone R


  1. Color Spaces John C. Hart CS 418 Interactive Computer Graphics

  2. RGB Additive Color • Red, Green, Blue G • Color model used in luminous displays (CRT, plasma, LCD) (yellow) • Designed to stimulate each (cyan) kind of cone R (magenta) B

  3. CMY Subtractive Color • Cyan, Magenta, Yellow M • Color model used in pigments and reflective materials (ink,paint) C Y

  4. NTSC TV Colors Y • YIQ I – Yluminance = 59%G + 30%R + 11%B – Intermodulation (or In-Phase) Q – Quadrature • Flesh tones in I given more bandwidth than Q, but not as much as luminance • Luminance resolution of NTSC video is about 500 pixels • Full-color resolution of NTSC video is about 160 pixels (limited by Q’s carrier) Example by Wikipedia user: (3ucky(3all

  5. NTSC TV Colors Y • YIQ I – Yluminance = 59%G + 30%R + 11%B – Intermodulation (or In-Phase) Q – Quadrature

  6. Digital Video Colors • YUV – yLuminance – U ≅ B – Y – V ≅ R – Y • Aka YPbPr (analog) and YCbCr (digital) • YUV422 transmits pixel pairs with individual luminance but shared chrominance

  7. Selecting Colors H S V HSV = Hue, Saturation, Value • 1978, Alvy Ray Smith • Hue [0,360] is angle about color wheel 0 ° = red, 60 ° = yellow, 120 ° = green, ∆ = maxRGB – minRGB 180 ° = cyan, 240 ° = blue, 300 ° = magenta maxRGB = R  H = (G – B)/ ∆ • Saturation [0,1] is distance from gray maxRGB = G  H = 2+(B – R)/ ∆ maxRGB = B  H =4+ (R – G)/ ∆ S = (maxRGB – minRGB)/maxRGB H = (60*H) mod 360 • Value [0,1] is distance from black V = maxRGB HLS = Hue, Saturation, Lightness • Double cone, saturation in middle

  8. Selecting Colors HSV – Hue, Saturation, Value • Single cone, saturation at top H S V HLS = Hue, Saturation, Lightness • Double cone, saturation in middle

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend