Color and Graphics Displays Jian Huang CS594. Physics It’s all electromagnetic (EM) radiation –Different colors correspond to radiation of different wavelengths.

Slides:



Advertisements
Similar presentations
Introduction to Raster scan display C A E D C Computer Aided Engineering Design Centre.
Advertisements

Introduction to Computer Graphics ColorColor. Specifying Color Color perception usually involves three quantities: Hue: Distinguishes between colors like.
Color Image Processing
Light Light is fundamental for color vision Unless there is a source of light, there is nothing to see! What do we see? We do not see objects, but the.
School of Computing Science Simon Fraser University
CS 4731: Computer Graphics Lecture 24: Color Science
SWE 423: Multimedia Systems Chapter 4: Graphics and Images (2)
What is color for?.
Display Issues Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico.
EET 450 – Advanced Digital Video Display Systems.
Imaging Science Fundamentals Chester F. Carlson Center for Imaging Science Display Systems Viewing Images.
1 CSCE441: Computer Graphics: Color Models Jinxiang Chai.
Raster Graphics and Color
Color & Color Management. Overview I. Color Perception Definition & characteristics of color II. Color Representation RGB, CMYK, XYZ, Lab III. Color Management.
9/14/04© University of Wisconsin, CS559 Spring 2004 Last Time Intensity perception – the importance of ratios Dynamic Range – what it means and some of.
7.3 การประมวลผล ภาพสี Color Image Processing. Color is a perceptual manifestation of light which in turn is an electromagnetic signal. Color is a sensation.
Colour Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 6 This presentation © 2004, MacAvon Media Productions Colour.
Lecture 03 Fasih ur Rehman
CGMB 324: Multimedia System design
Any questions about the current assignment? (I’ll do my best to help!)
Chapter 6: Color Image Processing Digital Image Processing.
COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS Light and Color Graphics Systems / Computer.
Chapter 3: Colorimetry How to measure or specify color? Color dictionary?
Lecture No. 3.  Screen resolution  Color  Blank space between the pixels  Intentional image degradation  Brightness  Contrast  Refresh rate  Sensitivity.
© Machiraju/Möller Fundametals of Rendering - Image Pipeline CIS782 Advanced Computer Graphics Raghu Machiraju.
Color. Contents Light and color The visible light spectrum Primary and secondary colors Color spaces –RGB, CMY, YIQ, HLS, CIE –CIE XYZ, CIE xyY and CIE.
Overview of Graphics Systems. Cathode-ray Tube (CRT) - colors are represented using Red, Green, and Blue components - the CRT has a mechanism for.
Color 2011, Fall. Colorimetry : Definition (1/2) Colorimetry  Light is perceived in the visible band from 380 to 780 nm  distribution of wavelengths.
Color Theory ‣ What is color? ‣ How do we perceive it? ‣ How do we describe and match colors? ‣ Color spaces.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
1 Chapter 2: Color Basics. 2 What is light?  EM wave, radiation  Visible light has a spectrum wavelength from 400 – 780 nm.  Light can be composed.
Introduction to Graphical Hardware Display Technologies
Digital Image Processing Part 1 Introduction. The eye.
CSC361/ Digital Media Burg/Wong
COLORCOLOR Angel 1.4 and 2.4 J. Lindblad
Three-Receptor Model Designing a system that can individually display thousands of colors is very difficult Instead, colors can be reproduced by mixing.
1 CSCE441: Computer Graphics: Color Models Jinxiang Chai.
Color. Acknowledgement Most of this lecture note has been taken from the lecture note on Multimedia and HCI course of University of Stirling, UK. I’d.
Introduction to Computer Graphics
EEL Introduction to Computer Graphics PPT12: Color models Yamini Bura – U
Color Models. Color models,cont’d Different meanings of color: painting wavelength of visible light human eye perception.
Greg Humphreys CS445: Intro Graphics University of Virginia, Fall 2003 Raster Graphics and Color Greg Humphreys University of Virginia CS 445, Fall 2003.
1 CSCE441: Computer Graphics: Color Models Jinxiang Chai.
K.B.H.POLYTECHNIC,MALEGAON CAMP, MALEGAON. Computer Hardware & Maintenance. S.Y.C.M/I.F Guided By :- Mr.K.S.Pawar. Lecturer in Computer Department.
Computer Graphics.
CS-321 Dr. Mark L. Hornick 1 Color Perception. CS-321 Dr. Mark L. Hornick 2 Color Perception.
David Luebke 1 2/5/2016 Color CS 445/645 Introduction to Computer Graphics David Luebke, Spring 2003.
Chapter 4: Color in Image and Video
David Luebke2/23/2016 CS 551 / 645: Introductory Computer Graphics Color Continued Clipping in 3D.
Computer Graphics Lecture -02. Frame Buffer The image being displayed is stored in a dedicated system memory area that is often referred.
Color Measurement and Reproduction Eric Dubois. How Can We Specify a Color Numerically? What measurements do we need to take of a colored light to uniquely.
Computer Graphics CC416 Lecture 03: Color Display & Color Models Dr. Manal Helal – Fall 2014.
Computer Graphics: Achromatic and Coloured Light.
1 of 32 Computer Graphics Color. 2 of 32 Basics Of Color elements of color:
The Cathode Ray Tube Monitor
COMPUTER GRAPHICS CS 482 – FALL 2016 CHAPTER 28 COLOR COLOR PERCEPTION CHROMATICITY COLOR MODELS COLOR INTERPOLATION.
Color Models Light property Color models.
Half Toning Dithering RGB CMYK Models
Display Issues Ed Angel
Color Image Processing
Color Image Processing
COLOR space Mohiuddin Ahmad.
Color Image Processing
Color & Light CMSC 435/634.
Introduction to Computer Graphics with WebGL
Color Representation Although we can differentiate a hundred different grey-levels, we can easily differentiate thousands of colors.
Color Image Processing
Slides taken from Scott Schaefer
Color Image Processing
Presentation transcript:

Color and Graphics Displays Jian Huang CS594

Physics It’s all electromagnetic (EM) radiation –Different colors correspond to radiation of different wavelengths –Intensity of each wavelength specified by amplitude Frequency = 2 pi/wavelength We perceive EM radiation with in the nm range, the tiny piece of spectrum between infra-red and ultraviolet

Visible Light

Color and Wavelength Most light we see is not just a single wavelength, but a combination of many wavelengths like below. This profile is often referred to as a spectrum, or spectral power distribution.

3-Component Color The de facto representation of color on screen display is RGB. (additive color) Some printers use CMY(K), (subtractive color) Why? –The color spectrum can be represented by 3 basis functions?

The Eye

Color is Human Sensation Cone and rod receptors in the retina Rod receptor is mostly for luminance perception 3 different types of cone receptors in the fovea of retina, responsible for color representation. Each type is sensitive to different wavelengths

Cone Receptors There are three types of cones, referred to as S, M, and L. They are roughly equivalent to blue, green, and red sensors, respectively. Their peak sensitivities are located at approximately 430nm, 560nm, and 610nm for the "average" observer.

Limitation of Knowledge We don’t know the precise light sensitivity on each person’s retina.

So, what is the standard color? The basis of comparison is not math!! The basis of comparison is human color matching experiments 100% mathematically correct light object interaction need to be evaluated at more than 3 points in the spectrum

Main Color Spaces CIE XYZ, xyY RGB, CMYK HSV (Munsell, HSL, IHS) Lab, UVW, YUV, YCrCb, Luv,

Differences in Color Spaces What is the use? For display, editing, computation, compression, …? Several key (very often conflicting) features may be sought after: –Additive (RGB) or subtractive (CMYK) –Separation of luminance and chromaticity –Equal distance between colors are equally perceivable

CIE Standard CIE: International Commission on Illumination (Comission Internationale de l’Eclairage). Human perception based standard (1931), established with color matching experiment Standard observer: a composite of a group of 15 to 20 people

CIE Experiment

CIE Experiment Result Three pure light source: R = 700 nm, G = 546 nm, B = 436 nm.

CIE Color Space 3 hypothetical light sources, X, Y, and Z, which yield positive matching curves Y: roughly corresponds to luminous efficiency characteristic of human eye

CIE Color Space

CIE xyY Space Irregular 3D volume shape is difficult to understand Chromaticity diagram (the same color of the varying intensity, Y, should all end up at the same point)

Color Gamut The range of color representation of a display device

RGB (monitors) The de facto standard

The RGB Cube RGB color space is perceptually non-linear RGB space is a subset of the colors human can perceive Con: what is ‘bloody red’ in RGB?

CMY(K): printing Cyan, Magenta, Yellow (Black) – CMY(K) A subtractive color model dye colorabsorbsreflects cyan redblue and green magentagreenblue and red yellowbluered and green blackallnone

RGB and CMY Converting between RGB and CMY

RGB and CMY

HSV This color model is based on polar coordinates, not Cartesian coordinates. HSV is a non-linearly transformed (skewed) version of RGB cube –Hue: quantity that distinguishes color family, say red from yellow, green from blue –Saturation (Chroma): color intensity (strong to weak). Intensity of distinctive hue, or degree of color sensation from that of white or grey –Value (luminance): light color or dark color

HSV Hexcone Intuitive interface to color

Lab: photoshop Photoshop uses this model to get more control over color It’s named CIE Lab model (refined from the original CIE model Liminance: L Chrominance: a – ranges from green to red and b ranges from blue to yellow

Luv and UVW A color model for which, a unit change in luminance and chrominance are uniformly perceptible U = 13 W* (u - u o ); V = 13 W* (v - v o ); W = 25 ( 100 Y ) 1/ where Y, u and v can be calculated from : X = O.607 Rn Gn Bn Y = Rn Gn Bn Z = Gn Bn x = X / ( X + Y + Z ) y = Y / ( X + Y + Z ) z = Z / ( X + Y + Z ) u = 4x / ( -2x + 12y + 3 ) v = 6y / ( -2x + 12y + 3 ) Luv is derived from UVW and Lab, with all components guaranteed to be positive

Yuv and YCrCb: digital video Initially, for PAL analog video, it is now also used in CCIR 601 standard for digital video Y (luminance) is the CIE Y primary. Y = 0.299R G B Chrominance is defined as the difference between a color and a reference white at the same luminance. It can be represented by U and V -- the color differences. U = B – Y; V = R - Y YCrCb is a scaled and shifted version of YUV and used in JPEG and MPEG (all components are positive) Cb = (B - Y) / ; Cr = (R - Y) /

Examples (RGB, HSV, Luv)

Color Matching on Monitors Use CIE XYZ space as the standard Use a simple linear conversion Color matching on printer is more difficult, approximation is needed (CMYK)

Gamut Mapping Negative RGB: add white (maintains hue, de-saturate) >1 RGB, scale down (in what space?) Not a trivial question (sometimes known as tone mapping)

Tone mapping Real scene: large range of luminance (from to 10 6 cd/m 2 ) Limitation of the display cd/m 2 cd : candela, unit for measuring intensity of flux of light

Gamma Correction The phosphor dots are not a linear system (voltage vs. intensity)

Gamma correction Without gamma correction, how will (0,255,127) look like? Normally gamma is within 1.7 and 2.8 Who is responsible for Gamma correction? SGI does it for you PC/Mac etc, you should do it yourself

No gamma correction

Gamma corrected to 1.7

Residual Gamma or System Gamma Systems such as SGI monitor has a gamma of 2.4, but they only gamma correct for 1.7. The residue gamma is 2.4/1.7 = 1.4, why? Depends on how you see it? Bright screen, dark room causes changes in your eye transfer function too. What about web pages? Which screen do you intend for?

CRT Display Cathode Ray Tubes (CRTs) Most common display device Evacuated glass bottle Electrons attracted to focusing anode cylinder Vertical and Horizontal deflection plates Beam strikes phosphor coating on front of tube

Vector Display Oscilloscopes were some of the 1st computer displays, used by both analog and digital computers Computation results used to drive the vertical and horizontal axis (x,y), intensity could also be controlled (z) Used mostly for line drawings, called vector, calligraphic display Display list had to be constantly updated

Raster Display TV boom made it cheap Entire screen painted 30 times/ sec Screen is traversed 60 times/ sec Even/ Odd lines on alternate scans, ‘interlace’.

Color CRT Requires precision geometry Patterned phosphors on CRT face Aligned metal shadow mask Three electron guns Less bright than monochrome CRTs

Pro/Con for Raster CRT Display Advantages –Allows solids to be displayed –Leverages low- cost CRT H/W –Whole Screen is constantly updated Disadvantages Requires screen- sized memory array (frame buffer) Discrete spatial sampling (pixels) Moire patterns: when shadow- mask and dot- pitch frequencies mismatch Convergence (varying angles of approach distance of e-beam across CRT face) Limit on practical size (< 40 inches) Spurious X- ray radiation Occupies a large volume

LCD Displays Liquid Crystal Display Organic molecules that remain in crystalline structure without external force, but re-aligns themselves like liquid under external force So LCDs realigns themselves to EM field and changes their own polarizations

Passive LCD LCD slowly transit between states. In scanned displays, with a large number of pixels, the percentage of the time that LCDs are excited is very small. Crystals spend most of their time in intermediate states, being neither "On" or "Off". These displays are not very sharp and are prone to ghosting.

Active Matrix LCD E field is retained by a capacitor so that the crystal remains in a constant state. Transistor switches are used to transfer charge into the capacitors during scanning. The capacitors can hold the charge for significantly longer than the refresh period Crisp display with no shadows. More expensive to produce.

Plasma Display Basically fluorescent tubes High- voltage discharge excites gas mixture (He, Xe), upon relaxation UV light is emitted, UV light excites phosphors Large view angle Large format display Less efficient than CRT, more power Large pixels: 1mm (0.2 mm for CRT) Phosphors depletion

Raster Displays Display synchronized with CRT sweep Special memory for screen update Pixels are the discrete elements displayed Generally, updates are visible

Double Buffer Adds a second frame buffer Swaps during vertical blanking Updates are invisible Costly

Memory Rasterizer Maintains a copy of the screen (or some part of it) in memory Relies on a fast copy Updates are nearly invisible

True Color and Indexed Color FB

High Color FB Popular PC/( SVGA) standard (popular with Gamers) Each pixel can be one of 2^ 15 colors Can exhibit worse quantization (banding) effects than indexed- color