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,

Slides:



Advertisements
Similar presentations
Colour Vision Sensitivity & Acuity. Colour Vision Trichromatic theory of colour vision There is only one type of rod and this responds strongly to bluish-
Advertisements

1/29/04© University of Wisconsin, CS559 Spring 2004 Last Time Color –Sensor response is computed from the sensor’s response curve and the incoming spectrum.
What is vision Aristotle - vision is knowing what is where by looking.
Color To understand how to make realistic images, we need a basic understanding of the physics and physiology of vision.
University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2005 Tamara Munzner Color Week 5, Fri Feb.
Computational Photography Prof. Feng Liu Spring /13/2015.
Lecture 30: Light, color, and reflectance CS4670: Computer Vision Noah Snavely.
Capturing Light… in man and machine : Computational Photography Alexei Efros, CMU, Fall 2006 Some figures from Steve Seitz, Steve Palmer, Paul Debevec,
Color.
CSCE641: Computer Graphics Image Formation Jinxiang Chai.
University of British Columbia CPSC 414 Computer Graphics © Tamara Munzner 1 Color 2 Week 10, Fri 7 Nov 2003.
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.
1 Computer Science 631 Lecture 6: Color Ramin Zabih Computer Science Department CORNELL UNIVERSITY.
Display Issues Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico.
1 CSCE441: Computer Graphics: Color Models Jinxiang Chai.
1/22/04© University of Wisconsin, CS559 Spring 2004 Last Time Course introduction Image basics.
CS559-Computer Graphics Copyright Stephen Chenney Color Recap The physical description of color is as a spectrum: the intensity of light at each wavelength.
Color Vision Topic 2: History of Color Vision. About the Author Professor: Cambridge President: International Color Vision Society (ICVS) Research interests.
Why Care About Color? Accurate color reproduction is commercially valuable - e.g. Kodak yellow, painting a house Color reproduction problems increased.
09/12/02 (C) 2002, University of Wisconsin, CS 559 Last Time Color and Color Spaces –Recall RGB and XYZ Programming assignment 2.
Digital Media Dr. Jim Rowan ITEC 2110 Color. COLOR Is a mess It’s a subjective sensation PRODUCED in the brain Color differs for light and paint/ink Printing.
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.
Image Formation CS418 Computer Graphics John C. Hart.
Digital Image Processing Colour Image Processing.
CS 376 Introduction to Computer Graphics 01 / 26 / 2007 Instructor: Michael Eckmann.
09/05/02© University of Wisconsin, CS559 Spring 2002 Last Time Course introduction Assignment 1 (not graded, but necessary) –View is part of Project 1.
CS559-Computer Graphics Copyright Stephen Chenney 2001 The Human Eye Graphics is concerned with the visual transmission of information How do we see? –Light.
Any questions about the current assignment? (I’ll do my best to help!)
1 Color vision and representation S M L.
CS 445 / 645: Introductory Computer Graphics Color.
1 © 2010 Cengage Learning Engineering. All Rights Reserved. 1 Introduction to Digital Image Processing with MATLAB ® Asia Edition McAndrew ‧ Wang ‧ Tseng.
Perceptual Issues Humans can discriminate about ½ a minute of arc –At fovea, so only in center of view, 20/20 vision –At 1m, about 0.2mm (“Dot Pitch”
25.2 The human eye The eye is the sensory organ used for vision.
01/21/05© 2005 University of Wisconsin Last Time Course introduction A simple physically-based rendering example.
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.
9/9/04© University of Wisconsin, CS559 Spring 2004 Last Time Course introduction Digital Images –The difference between an image and a display –Ways to.
Color Why is the Sky Blue? Atmosphere scatters blue light because of the shorter λ.
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.
Digital Image Processing Part 1 Introduction. The eye.
CSC361/ Digital Media Burg/Wong
An Introduction to Analyzing Colors in a Digital Photograph Rob Snyder.
DIGITAL IMAGE. Basic Image Concepts An image is a spatial representation of an object An image can be thought of as a function with resulting values of.
Digital Media Dr. Jim Rowan ITEC 2110 Color. COLOR Is a mess It’s a subjective sensation PRODUCED in the brain Color differs for light and paint/ink Printing.
COLOR.
1 CSCE441: Computer Graphics: Color Models Jinxiang Chai.
Introduction to Computer Graphics
1 CSCE441: Computer Graphics: Color Models Jinxiang Chai.
David Luebke 1 2/5/2016 Color CS 445/645 Introduction to Computer Graphics David Luebke, Spring 2003.
David Luebke2/23/2016 CS 551 / 645: Introductory Computer Graphics Color Continued Clipping in 3D.
Capturing Light… in man and machine CS194: Image Manipulation & Computational Photography Alexei Efros, UC Berkeley, Fall 2015.
2015, Autumn Visualization with 3D CG Masaki Hayashi Color theory & Digital camera.
09/10/02(c) University of Wisconsin, CS559 Fall 2002 Last Time Digital Images –Spatial and Color resolution Color –The physics of color.
1 Computational Vision CSCI 363, Fall 2012 Lecture 32 Biological Heading, Color.
1 of 32 Computer Graphics Color. 2 of 32 Basics Of Color elements of color:
Image Processing Objectives To understand pixel based image processing
Capturing Light… in man and machine
25.2 The human eye The eye is the sensory organ used for vision.
(c) University of Wisconsin, CS559 Spring 2002
Pengenalan Warna Teori Warna.
Capturing Light… in man and machine
© University of Wisconsin, CS559 Spring 2002
Perception and Measurement of Light, Color, and Appearance
© University of Wisconsin, CS559 Spring 2004
Why does a blue shirt look blue?
Computer Vision Lecture 4: Color
Capturing Light… in man and machine
Slides taken from Scott Schaefer
Last Time Image – basic definition
Presentation transcript:

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, not their wavelength Cones come in three types (experimentally and genetically proven), each responds in a different way to frequency distributions

Color receptors Each cone type has a different sensitivity curve –Experimentally determined in a variety of ways For instance, the L-cone responds most strongly to red light “Response” in your eye means nerve cell firings How you interpret those firings is not so simple

Trichromacy means… Spectrum 3 Primaries Color Matching: People think these two spectra look the same (metamers or monomers) Representing color: If you want people to “see” the continuous spectrum, you can just show the three primaries

The RGB Color Matching Functions

Normal Daylight # Photons Wavelength (nm) Note the hump at short wavelengths - the sky is blue Other bumps came from solar emission spectra and atmospheric adsorption

Tungsten Lightbulb Most light sources are not anywhere near white It is a major research effort to develop light sources with particular properties # Photons Wavelength (nm)

Red Paint Red paint absorbs green and blue wavelengths, and reflects red wavelengths, resulting in you seeing a red appearance # Photons Wavelength (nm)

Digital Images Computers work with discrete pieces of information How do we digitize a continuous image? –Break the continuous space into small areas, pixels –Use a single value for each pixel - the pixel value (no color, yet) –No longer continuous in space or intensity This process is fraught with danger, as we shall see Continuous Discrete Pixels: Picture Elements

Perceptual Issues Humans can discriminate about ½ a minute of arc –At fovea, so only in center of view, 20/20 vision –At 1m, about 0.2mm (“Dot Pitch” of monitors) –Limits the required number of pixels Humans can discriminate about 8 bits of intensity –“Just Noticeable Difference” experiments –Limits the required depth for typical dynamic ranges –Actually, it’s 9 bits, but 8 is far more convenient BUT, while perception can guide resolution requirements for display, when manipulating images much higher resolution may be required

Dynamic Range Image depth refers to the number of bits available, but not how those bits map onto intensities We can use those bits to represent a large range at low resolution, or a small range at high resolution Common display devices can only show a limited dynamic range, so typically we fix the range at that of the display device and choose high resolution All possible intensities Low range, high res High range, low res

Color Perception How your brain interprets nerve impulses from your cones is an open area of study, and deeply mysterious Colors may be perceived differently: –Affected by other nearby colors –Affected by adaptation to previous views –Affected by “state of mind” Experiment: –Subject views a colored surface through a hole in a sheet, so that the color looks like a film in space –Investigator controls for nearby colors, and state of mind

The Same Color?

Going from RGB to XYZ These are linear color spaces, related by a linear transformation Match each primary, for example: Substitute and equate terms:

Standard RGB↔XYZ Note that each matrix is the inverse of the other Recall, Y encodes brightness, so the matrix tells us how to go from RGB to grey

Gamuts Gamut: The range of colors that can be represented or reproduced Plot the matching coordinates for each primary. eg R, G, B Region contained in triangle (3 primaries) is gamut Really, it’s a 3D thing, with the color cube distorted and embedded in the XYZ gamut x y XYZ Gamut RGB Gamut G R B

The Simplest File class Image { unsigned int width; unsigned int height; unsigned char *data; } 3 r,g,b 0r0r 0 r,g,b 1 r,g,b 2 r,g,b 4 r,g,b 5 r,g,b 8 r,g,b 7 r,g,b 6 r,g,b 0g0g 0b0b 1g1g 1r1r 1b1b 2r2r 2g2g 2b2b 3r3r 3g3g

Indexed Color Color Table Pixel DataImage