To discuss. Color Science Color Models in image. Computer Graphics 2

Similar documents
Lecture Color Image Processing. by Shahid Farid

COLOR. and the human response to light

Light. intensity wavelength. Light is electromagnetic waves Laser is light that contains only a narrow spectrum of frequencies

COLOR and the human response to light

Colors in Images & Video

Lecture 8. Color Image Processing

LECTURE 07 COLORS IN IMAGES & VIDEO

Color and Color Model. Chap. 12 Intro. to Computer Graphics, Spring 2009, Y. G. Shin

Wireless Communication

Digital Image Processing Color Models &Processing

Color & Graphics. Color & Vision. The complete display system is: We'll talk about: Model Frame Buffer Screen Eye Brain

Image and video processing (EBU723U) Colour Images. Dr. Yi-Zhe Song

Color Science. What light is. Measuring light. CS 4620 Lecture 15. Salient property is the spectral power distribution (SPD)

Raster Graphics. Overview קורס גרפיקה ממוחשבת 2008 סמסטר ב' What is an image? What is an image? Image Acquisition. Image display 5/19/2008.

קורס גרפיקה ממוחשבת 2008 סמסטר ב' Raster Graphics 1 חלק מהשקפים מעובדים משקפים של פרדו דוראנד, טומס פנקהאוסר ודניאל כהן-אור

Color Science. CS 4620 Lecture 15

Lecture 3: Grey and Color Image Processing

Mahdi Amiri. March Sharif University of Technology

Color Image Processing. Gonzales & Woods: Chapter 6

Multimedia Systems Color Space Mahdi Amiri March 2012 Sharif University of Technology

Color images C1 C2 C3

12 Color Models and Color Applications. Chapter 12. Color Models and Color Applications. Department of Computer Science and Engineering 12-1

CS 565 Computer Vision. Nazar Khan PUCIT Lecture 4: Colour

CIE tri-stimulus experiment. Color Value Functions. CIE 1931 Standard. Color. Diagram. Color light intensity for visual color match

COLOR. Elements of color. Visible spectrum. The Fovea. Lecture 3 October 30, Ingela Nyström 1. There are three types of cones, S, M and L

Introduction to computer vision. Image Color Conversion. CIE Chromaticity Diagram and Color Gamut. Color Models

Colors in images. Color spaces, perception, mixing, printing, manipulating...

Achim J. Lilienthal Mobile Robotics and Olfaction Lab, AASS, Örebro University

Image Processing for Mechatronics Engineering For senior undergraduate students Academic Year 2017/2018, Winter Semester

COLOR. Elements of color. Visible spectrum. The Human Visual System. The Fovea. There are three types of cones, S, M and L. r( λ)

Color image processing

Multimedia Systems and Technologies

Chapter 2 Fundamentals of Digital Imaging

The Principles of Chromatics

Understand brightness, intensity, eye characteristics, and gamma correction, halftone technology, Understand general usage of color

EECS490: Digital Image Processing. Lecture #12

the eye Light is electromagnetic radiation. The different wavelengths of the (to humans) visible part of the spectra make up the colors.

For a long time I limited myself to one color as a form of discipline. Pablo Picasso. Color Image Processing

Colorimetry and Color Modeling

Color Image Processing

Reading. Foley, Computer graphics, Chapter 13. Optional. Color. Brian Wandell. Foundations of Vision. Sinauer Associates, Sunderland, MA 1995.

CS6640 Computational Photography. 6. Color science for digital photography Steve Marschner

Color Image Processing

Color Theory: Defining Brown

Test 1: Example #2. Paul Avery PHY 3400 Feb. 15, Note: * indicates the correct answer.

Colour. Why/How do we perceive colours? Electromagnetic Spectrum (1: visible is very small part 2: not all colours are present in the rainbow!

IFT3355: Infographie Couleur. Victor Ostromoukhov, Pierre Poulin Dép. I.R.O. Université de Montréal

Figure 1: Energy Distributions for light

Colour. Cunliffe & Elliott, Chapter 8 Chapman & Chapman, Digital Multimedia, Chapter 5. Autumn 2016 University of Stirling

LECTURE III: COLOR IN IMAGE & VIDEO DR. OUIEM BCHIR

Colour. Electromagnetic Spectrum (1: visible is very small part 2: not all colours are present in the rainbow!) Colour Lecture!

Hello, welcome to the video lecture series on Digital image processing. (Refer Slide Time: 00:30)

Introduction. The Spectral Basis for Color

Digital Image Processing COSC 6380/4393. Lecture 20 Oct 25 th, 2018 Pranav Mantini

Computer Graphics Si Lu Fall /27/2016

Introduction to Color Science (Cont)

Colour spaces. Project for the Digital signal processing course

Color images C1 C2 C3

Color and Color Models

Color and Perception. CS535 Fall Daniel G. Aliaga Department of Computer Science Purdue University

Comparing Sound and Light. Light and Color. More complicated light. Seeing colors. Rods and cones

PERCEIVING COLOR. Functions of Color Vision

Announcements. Electromagnetic Spectrum. The appearance of colors. Homework 4 is due Tue, Dec 6, 11:59 PM Reading:

Bettina Selig. Centre for Image Analysis. Swedish University of Agricultural Sciences Uppsala University

University of British Columbia CPSC 314 Computer Graphics Jan-Apr Tamara Munzner. Color.

Introduction to Computer Vision CSE 152 Lecture 18

Fig Color spectrum seen by passing white light through a prism.

Reading for Color. Vision/Color. RGB Color. Vision/Color. University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2013.

VC 16/17 TP4 Colour and Noise

What is Color? Color is a human perception (a percept). Color is not a physical property... But, it is related the the light spectrum of a stimulus.

University of British Columbia CPSC 414 Computer Graphics

Digital Image Processing. Lecture # 8 Color Processing

Color Image Processing

Human Vision, Color and Basic Image Processing

Visual Perception. Overview. The Eye. Information Processing by Human Observer

Color. Color. Colorfull world IFT3350. Victor Ostromoukhov Université de Montréal. Victor Ostromoukhov - Université de Montréal

Color vision and representation

Images and Colour COSC342. Lecture 2 2 March 2015

Reading instructions: Chapter 6

Unit 8: Color Image Processing

excite the cones in the same way.

Color Reproduction. Chapter 6

Werner Purgathofer

6 Color Image Processing

Interactive Computer Graphics

Color Image Processing. Jen-Chang Liu, Spring 2006

Digital Image Processing

Introduction to Multimedia Computing

Color , , Computational Photography Fall 2017, Lecture 11

Andrea Torsello DAIS Università Ca Foscari via Torino 155, Mestre (VE) Color Vision

Color , , Computational Photography Fall 2018, Lecture 7

Color. Used heavily in human vision. Color is a pixel property, making some recognition problems easy

YIQ color model. Used in United States commercial TV broadcasting (NTSC system).

Victor Ostromoukhov Université de Montréal. Victor Ostromoukhov - Université de Montréal

VIDEO AND IMAGE PROCESSING USING DSP AND PFGA. Chapter 1: Introduction to Image Processing. Contents

MATH 5300 Lecture 3- Summary Date: May 12, 2008 By: Violeta Constantin

12/02/2017. From light to colour spaces. Electromagnetic spectrum. Colour. Correlated colour temperature. Black body radiation.

Color. Chapter 6. (colour) Digital Multimedia, 2nd edition

Images. CS 4620 Lecture Kavita Bala w/ prior instructor Steve Marschner. Cornell CS4620 Fall 2015 Lecture 38

IMAGE PROCESSING >COLOR SPACES UTRECHT UNIVERSITY RONALD POPPE

Transcription:

Color

To discuss Color Science Color Models in image Computer Graphics 2

Color Science Light & Spectra Light is an electromagnetic wave It s color is characterized by its wavelength Laser consists of single wavelength Most light sources produce contributions over many wavelengths, contributions that fall in the visible wavelength can be seen λ Vs Spectral power curve is called spectral power distribution E(λ) (SPD). Light from 400 to 700 nanometer (10-9 meter) Computer Graphics 3

Color Science Light & Spectra [2] Computer Graphics 4

Color Science Light & Spectra [3] Red light has longer wavelength in the visible light Blue light has the shorter. The shorter the wavelength, higher h the vibration & energy Red photons carry around 1.8eV & blue 3.1eV Computer Graphics 5

Color Science Vision & Sensitivity Eye resembles a camera focusing image into the retina Retina consists of rods & 3 kind of cones Rods have more sensitivity when the light level lis low & produce image in gray The higher the light level, the more the sensitivity with the cones & more neurons firing The 3 kinds of cones are more sensitive to R, G & B present in the ratios 40:20:1 Computer Graphics 6

Color Science Vision & Sensitivity [2] Eye is most sensitive to the middle of the visible spectrum Let us denote the spectral sensitivity of R, G, B cones as a vector q(λ) q(λ)=[q R (λ), q G (λ), q B (λ)] T Computer Graphics 7

Color Science Vision & Sensitivity [3] The sensitivity of each cones can be specified as R= E(λ) q R (λ) d λ ---------- (1) G= E(λ) q G (λ) d λ ---------- (2) B= E(λ) q B (λ) d λ ---------- (3) - integral Equations 1, 2, 3 quantify the signals transmitted to the brain Computer Graphics 8

Color Science Image Formation Equations 1,2 & 3 applies for self luminous objects, but we mostly receive image light reflected from objects The reflectance S(λ) varies from object to object The formations would be as follows Light from illuminant with SPD E(λ) falls on the object with reflectance S(λ) and is reflected, then filtered by the eyes sensitivity functions q(λ) & the image formation model is now R= E(λ) S(λ) q R (λ) d λ ---------- (4) G= E(λ) S(λ) q G (λ) dλ λ ---------- (5) B= E(λ) S(λ) q B (λ) d λ ---------- (6) - integral Computer Graphics 9

Color Science Image Formation[2] The main characteristics of a color for human perception are the following ones. hue corresponding to the dominant wavelength in the spectrum of the color saturation or purity which is high when the spectrum consists of a narrow peak at the dominant wavelength, and which is low for a flatter spectrum. intensity or lightness depending on the energy of the spectrum Computer Graphics 10

Color Science Gamma Correction The RGB in the image files are converted to analog & drive the electron guns of CRT The light emitted from CRT is not linear to the voltage applied, it is proportional to voltage raised to the power, called gamma This effect can be precorrected by applying inverse transformation SMPTE( Society of Motion Picture and Television Engineers) set this value to 2.2 Computer Graphics 11

Color Science Gamma Correction [2] From digital Image Processing C.Gonzalez & R.Woods Computer Graphics 12

Color Science CIE Chromaticity Diagram In 1931,CIE (Commission i Internationale de L Eclairage) combined all results of color matching experiments in the form of CIE color matching functions The reason why some parts of the color matching functions curve are negative? Shift color primaries to the other side to produce those colors CIE color matching functions Computer Graphics 13

Color Science CIE Chromaticity Diagram [2] The CIE decided to use imaginary lights that had two especially nice features: one of the lights is gray and provides no hue information; the other two lights have zero luminance and provide only hue The response for these three lights is defined d by the triple (X, Y, Z) where Y is the luminance ( / brightness/ perceived intensity) Computer Graphics 14

(λ), (λ), (λ) Color Science CIE Chromaticity Diagram [3] The formula for the CIE tristimulus values (X, Y, Z) is X= E(λ) x(λ) d λ---------- (7) Y= E(λ) y(λ) d λ---------- (8) Z= E(λ) z(λ) d λ---------- (9) The values of are obtained from the original r, b, g curves, by multiplication by a 3x3 matrix. CIE standard color matching functions Computer Graphics 15

Color Science CIE Chromaticity Diagram [4] Factoring out luminance to concentrate on color, we get x= X /(X+Y+Z) y= Y /(X+Y+Z) z= Z /(X+Y+Z) Now z=1-x-y, means z is redundant Plotting x vs. y for colors in the visible spectrum we get CIE Chromaticity diagram Computer Graphics 16

Color Science CIE Chromaticity Diagram [5] The Line Joining i red to violet is called purple line, and is not a part of the spectrum Interior points specify all the visible color combinations Standard approximations of day light by CIE includes illuminant C (0.310063, 0.316158) D65 (0.312713, 0.329016) D100 (0.2788, 0.2920) F2 (for fluorescent illumination) Computer Graphics 17

Color Science CIE Chromaticity Diagram [6] So can you get X, Y & Z from x, y & z? No. For complete description of color, we need x, y & Y. So, x, y represent chromaticity & Y represent luminance Computer Graphics 18

Color Science Color Monitor Specifications When R, G, B electron guns are fired at the maximum voltage (normalized to [0 1]), white point should appear. Otherwise use the voltage that generates the white point. Color monitor specifications includes the white point chromaticity desired Chromaticities & white point of monitor specifications Computer Graphics 19

Color Science Out-of-Gamut colors Gamut refers to the subset of colors which can be accurately represented in a given color space or by a certain output device Colors are said to be out of gamut, if it is perceivable by the user & is not representable on the device being used Given x, y (& z is implied) the R, G, B can be found from Computer Graphics 20

Color Science Out-of-Gamut colors [2] The color is out-ofgamut, if from the previous equation, any of R, G or B turns negative Approximate with the closest in-gamut color Computer Graphics 21

Color Science Munsell Color Naming System Color space is continuous, naming of colors requires quantization A common color space used for naming is HSI color space. Each of the values can gradually change. Gradual change of 'hue' can be described by names such as red, orange red, orange, yellowish orange, yellow, green yellow, green, sea green, cyan, blue, violet and purple. Computer Graphics 22

Color Science Munsell Color Naming System [2] Gradual change of saturation may for example be expressed by adding to a color name labels like gray, grayish, moderate, strong and vivid. Gradual change of intensity may be expressed by adding labels such as 'blackish', very dark, dark, medium, light (or pale) and very light. Munsell Naming System uses three axes to naming colors Value (black to white) (9 steps) Hue (40 steps around a circle) *Radius of circle varies Chroma (16 levels) This is called the CNS model. Computer Graphics 23

Color Science Other Color Coordinate Systems CMY (Cyan-Magenta-Yellow) YIQ (Luminance, In-phase, Quadrature) -It is used by the NTSC television norm. HSL(Hue-Saturation-Lightness) HSV(Hue-Saturation-Value) Saturation Value) HSI(Hue-Saturation-Intensity) HCI(Hue-Chroma-Intensity) HVC(Hue-Value-Chroma) HSD(Hue-Saturation-Darkness) Computer Graphics 24

The YIQ model It is not based in the 3 primary colors, but Y represents the luminance I and Q represent the in-phase and quadrature values when quadrature modulation is used to specify the crominance C = Icos(F sc t) + Qsin(F sc t) where F sc is the frequency 3.58MHz Computer Graphics 25

The YIQ model [2] It can be obtained from the R, B, G model using the transformation It allows easy adjustment of the luminance for all monitors Computer Graphics 26

The HSV model As the name suggests, this model is based on the hue, saturation and value(of intensity). Computer Graphics 27

The HSV model[2] d l The values are obtained by: max is the greatest of r, g, and b, and min the least (coordinates values for R, G and B). Computer Graphics 28

The HSL model As the name suggests, this model is based on the hue, saturation and lightness. The hue is obtained as in the HSV model The s and l (between 0 and 1) by Computer Graphics 29

Color Models for Image RGB Vs CMY Additive Vs Subtractive Models Additive model Used in computer displays, Uses light to display color, Colors result from transmitted light Red+Green+Blue=White Subtractive Models Used in printed materials, Uses ink to display color, Colors result from reflected light Cyan+Magenta+Yellow=Black Computer Graphics 30

Color Models for Image RGB Vs CMY [2] Computer Graphics 31

Color Models for Image RGB Vs CMY [3] RGB & CMY Cubes Computer Graphics 32

Color Models for Image RGB Vs CMY [4] Conversion From RGB to CMY Conversion From CMY to RGB Computer Graphics 33

Color Models for Image CMYK Eliminating i i amounts of yellow, magenta, and cyan that would have added to a dark neutral (black) and replacing them with black ink Four-color printing uses black ink(k) in addition to the subtractive primaries yellow, magenta, and cyan. Reasons for Black addition includes CMY Mixture rarely produces pure black Text is typically printed in black and includes fine detail Cost saving : Unit amount of black ink rather than three unit amounts of CMY Computer Graphics 34

Color Models for Image CMYK [2] The transformation from CMY to CMYK is given by the formulas: K = min(c, M, Y) C = C K M = M K Y = Y K Note that this implies that at least one of the four values will be zero. Computer Graphics 35

Color Models for Image CMYK[2] Used especially in the printing of images + + + = Computer Graphics 36