1 Computer Science 631 Lecture 6: Color Ramin Zabih Computer Science Department CORNELL UNIVERSITY.

Slides:



Advertisements
Similar presentations
Color & Light, Digitalization, Storage. Vision Rods work at low light levels and do not see color –That is, their response depends only on how many photons,
Advertisements

Achromatic and Colored Light CS 288 9/17/1998 Vic.
Aalborg University Copenhagen
1 Computational Vision CSCI 363, Fall 2012 Lecture 33 Color.
University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2005 Tamara Munzner Color Week 5, Fri Feb.
2/23/051 Human Abilities: Color, Vision, & Perception CS 160, Spring 2005 Slides from: James Landay.
The eyes have three different kinds of color receptors; One kind is most sensitive to short wavelengths, one to middle wavelengths, and one to long wavelengths.
Why is this hard to read. Unrelated vs. Related Color Unrelated color: color perceived to belong to an area in isolation (CIE 17.4) Related color: color.
SWE 423: Multimedia Systems Chapter 4: Graphics and Images (2)
What is color for?.
Capturing Light… in man and machine : Computational Photography Alexei Efros, CMU, Fall 2010.
Capturing Light… in man and machine : Computational Photography Alexei Efros, CMU, Fall 2008.
Image Formation Mohan Sridharan Based on slides created by Edward Angel CS4395: Computer Graphics 1.
CSC 461: Lecture 2 1 CSC461 Lecture 2: Image Formation Objectives Fundamental imaging notions Fundamental imaging notions Physical basis for image formation.
1 CSCE441: Computer Graphics: Color Models Jinxiang Chai.
Chapter 7: Color Vision How do we perceive color?.
Image Processing Lecture 2 - Gaurav Gupta - Shobhit Niranjan.
1Computer Graphics Lecture 3 - Image Formation John Shearer Culture Lab – space 2
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
Computer Graphics I, Fall 2008 Image Formation.
1 Image Formation. 2 Objectives Fundamental imaging notions Physical basis for image formation ­Light ­Color ­Perception Synthetic camera model Other.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
Any questions about the current assignment? (I’ll do my best to help!)
1 Perception and VR MONT 104S, Fall 2008 Lecture 7 Seeing Color.
1 Color vision and representation S M L.
Computer Science 631 Lecture 7: Colorspace, local operations
Color in image and video Mr.Nael Aburas. outline  Color Science  Color Models in Images  Color Models in Video.
Color 2011, Fall. Colorimetry : Definition (1/2) Colorimetry  Light is perceived in the visible band from 380 to 780 nm  distribution of wavelengths.
Fundamentals of Multimedia Chapter 4 : Color in Image and Video 2 nd Edition 2014 Ze-Nian Li Mark S. Drew Jiangchuan Liu 1.
Color Theory ‣ What is color? ‣ How do we perceive it? ‣ How do we describe and match colors? ‣ Color spaces.
Digital Image Processing Part 1 Introduction. The eye.
CSC361/ Digital Media Burg/Wong
Graphics Lecture 4: Slide 1 Interactive Computer Graphics Lecture 4: Colour.
1 Angel: Interactive Computer Graphics4E © Addison-Wesley 2005 Image Formation.
Three-Receptor Model Designing a system that can individually display thousands of colors is very difficult Instead, colors can be reproduced by mixing.
COLOR.
1 CSCE441: Computer Graphics: Color Models Jinxiang Chai.
1 CSCE441: Computer Graphics: Color Models Jinxiang Chai.
1 Angel and Shreiner: Interactive Computer Graphics6E © Addison-Wesley 2012 Image Formation 靜宜大學 資訊工程系 蔡奇偉 副教授
CS-321 Dr. Mark L. Hornick 1 Color Perception. CS-321 Dr. Mark L. Hornick 2 Color Perception.
Python Review.
1 Angel and Shreiner: Interactive Computer Graphics6E © Addison-Wesley 2012 Image Formation Sai-Keung Wong ( 黃世強 ) Computer Science National Chiao Tung.
Retina Retina covered with light sensitive receptors –RODS Primarily for night vision and movement Sensitive to broad spectrum of light.
FRS 123: Technology in Art and Cultural Heritage Color.
Image credit: Wikipedia (Fovea) Human Eye Some interesting facts – Rod cells: requires only low light b/w vision blur, all over retina EXCEPT fovea – Cone.
Hue Do You Think Hue Are?. The Properties of Color There are three fundamental properties by which color is characterized: hue, value and chroma.
1 of 32 Computer Graphics Color. 2 of 32 Basics Of Color elements of color:
Color Huamin Qu Hong Kong University of Science and Technology.
Multimedia systems Lecture 5: Color in Image and Video.
Color Models Light property Color models.
Half Toning Dithering RGB CMYK Models
Capturing Light… in man and machine
Pengenalan Warna Teori Warna.
Color 2017, Fall.
Angel: Interactive Computer Graphics5E © Addison-Wesley 2009
Yuanfeng Zhou Shandong University
Color 2015, Fall.
CS 4722 Computer Graphics and Multimedia Spring 2018
Perception and Measurement of Light, Color, and Appearance
Image Formation Ed Angel Professor Emeritus of Computer Science,
Color Representation Although we can differentiate a hundred different grey-levels, we can easily differentiate thousands of colors.
Computer Vision Lecture 4: Color
Isaac Gang University of Mary Hardin-Baylor
Introduction to Perception and Color
Capturing Light… in man and machine
Slides taken from Scott Schaefer
Angel: Interactive Computer Graphics4E © Addison-Wesley 2005
Image Formation Ed Angel
University of New Mexico
Color Theory What is color? How do we perceive it?
Presentation transcript:

1 Computer Science 631 Lecture 6: Color Ramin Zabih Computer Science Department CORNELL UNIVERSITY

2 Outline n The visible spectrum and human color perception n Color cameras n How color is encoded in images

3 The visible spectrum

4 Evolution’s camera

5 Human color perception n There are two kinds of cells in the retina Rods and cones –What kind of cells are they? n Most retinal cells are in the fovea (center) n Rods sense luminance (black and white) Concentrated in the fovea, but not exclusively n Cones sense color

6 Spatial distribution (cross-section)

7 Rods versus cones n Rods are more tolerant in terms of handling low light conditions You don’t see color when it’s night n Cones give you better spatial acuity

8 Different overall light sensitivity rods cones Results in the Purkinje shift: What appears brightest changes as the sun sets!

9 Cones come in three flavors Blue Green Red

10 How we see color n It all depends on how much the different cones are stimulated n It is possible to have two different spectra that stimulate cones the same way Called a metamer n To a person, these colors look the same, but they are (in some sense) completely different

11 Some colors do not come from a single wavelength n There will never be a purple laser n Purple comes from blue (short wavelength) and red (long wavelength) light More precisely, the sensation that we call purple comes from the blue and red cones being stimulated –And no others!

12 Blue cones are “odd”

13 Non-uniform distribution n Blue cones are least dense in the fovea 3-5%, versus about 8% elsewhere n Red cones are about 33%, fairly evenly distributed n Green are 64% in the fovea, about 55% elsewhere

14 Another way to see this

15 Color constancy n As the spectrum of the illuminating light changes, so does the pattern of cone stimulus Yet your red coat looks the same as you walk outside! No one has a good (computational) understanding of this problem

16 How many colors can we see? n Humans can discriminate about 200 hues 20 saturation values 500 brightness steps n The NBS lists 267 color names n What about across languages? Seem to be about 11 basic ones –white, black, red, green, yellow, blue, brown, purple, pink, orange, gray

17 Just noticeable difference These results are for adjacent colors! With a several-second pause, answer is about 12

18 Additive versus subtractive colors n Paint is colored because of the spectrum it absorbs (subtracts from the incident light) Red paint absorbs non-red photons Color filters are another example n Lights have colors because of the spectrum they emit Televisions and monitors work this way n The two obey different rules!

19 Subtractive colors

20 Additive colors Yellow light plus blue light = what?

21 Cheap versus expensive cameras n Cheap color (video) cameras have a single CCD Mask in front of the imaging array Reduces spatial resolution n More expensive cameras have 3 different video cameras Color output really is 3 different (independent) signals

22 Different wavelengths, different focal lengths Note: expensive (achromatic) lenses don’t do this

23 Consequences of different focal lengths n On a single-CCD system, only one color is really in focus Typically, it’s the green channel n What about the human visual system?

24 Colorspace n The colorspace is obviously 3-dimensional Different ways to represent this space One goal: distance in color space corresponds to human notion of “similar” colors –Perceptually uniform colorspaces are hard! n The obvious solution is to have one dimension per cone type Additive, using red, green and blue

25 RGB color space

26 How to represent a pure color in RGB There’s a BIG problem here…

27 Another way to think about color n RGB maps nicely onto the way monitors phosphors are designed Cameras naturally provide something like RGB 3 different wavelengths n But there is a more natural way to think about color Hue, saturation, brightness

28 Hue, saturation and brightness H dominant wavelength S purity % white B luminance

29 Color wheel (constant brightness) In this view of color, there is a color cone (this is a cross-section)

30 CIE colorspace

31 CIE color chart n X+Y+Z is more or less luminosity Let’s look at the plane X+Y+Z = 1