Colour Reading: Chapter 6 Light is produced in different amounts at different wavelengths by each light source Light is differentially reflected at each.

Slides:



Advertisements
Similar presentations
13- 1 Chapter 13: Color Processing 。 Color: An important descriptor of the world 。 The world is itself colorless 。 Color is caused by the vision system.
Advertisements

1 Color Kyongil Yoon VISA Color Chapter 6, “Computer Vision: A Modern Approach” The experience of colour Caused by the vision system responding.
Chapter 9: Color Vision. Overview of Questions How do we perceive 200 different colors with only three cones? What does someone who is “color-blind” see?
Computer Vision - A Modern Approach Set: Color Slides by D.A. Forsyth Causes of color The sensation of color is caused by the brain. Some ways to get this.
Computer Vision CS 776 Spring 2014 Color Prof. Alex Berg (Slide credits to many folks on individual slides)
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,
Color Frank Dellaert Many slides by Jim Rehg Some slides by David Forsyth.
Achromatic and Colored Light CS 288 9/17/1998 Vic.
W14D1. Multimedia Representation of colour (photos, videos) Representation of sound. Comp.Sci. questions: what is colour? how can computers capture &
School of Computing Science Simon Fraser University
Lecture 6 Color and Texture
SWE 423: Multimedia Systems Chapter 4: Graphics and Images (2)
Computer Vision Color Marc Pollefeys COMP 256. Computer Vision Last class point source model N S N S.
What is color for?.
Jochen Triesch, UC San Diego, 1 Color Outline: visible light, photoreceptor space psychophysics of color matching color.
Color Representation Lecture 3 CIEXYZ Color Space CIE Chromaticity Space HSL,HSV,LUV,CIELab X Z Y.
Colors and sensors Slides from Bill Freeman, Fredo Durand, Rob Fergus, and David Forsyth, Alyosha Efros.
Introduction of the intrinsic image. Intrinsic Images The method of Finlayson & Hordley ( 2001 ) Two assumptions 1. the camera ’ s sensors are sufficiently.
CS559-Computer Graphics Copyright Stephen Chenney Color Recap The physical description of color is as a spectrum: the intensity of light at each wavelength.
Why Care About Color? Accurate color reproduction is commercially valuable - e.g. Kodak yellow, painting a house Color reproduction problems increased.
Color Monday, Feb 7 Prof. Kristen Grauman UT-Austin.
Exam 2: November 8 th –If you will need accommodations, please make sure you have documentation from the University Office of Disability Services –It will.
Color Models AM Radio FM Radio + TV Microwave Infrared Ultraviolet Visible.
Colour in Computer Graphics Mel Slater. Outline: This time Introduction Spectral distributions Simple Model for the Visual System Simple Model for an.
Color & Color Management. Overview I. Color Perception Definition & characteristics of color II. Color Representation RGB, CMYK, XYZ, Lab III. Color Management.
Light, Color and Imaging. Light The Electromagnetic Spectrum: E = h.
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.
Color Computational Photography MIT Feb. 14, 2006 Bill Freeman and Fredo Durand.
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 6 This presentation © 2004, MacAvon Media Productions Colour.
Course Website: Digital Image Processing Colour Image Processing.
Digital Image Processing Colour Image Processing.
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 Chapter 6: Color Preview 。 The world is colorless 。 Color is caused by the vision system responding differently to different wavelengths of light 。 Brightness.
1 Color vision and representation S M L.
Chapter 3: Colorimetry How to measure or specify color? Color dictionary?
Oct 10, Image Formation: Light Sources + Reflectance + Sensors Light is produced in different amounts at different wavelengths by each light source.
Computer Science 631 Lecture 7: Colorspace, local operations
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.
Chapter 9: Perceiving Color. What Are Some Functions of Color Vision? Color signals help us classify and identify objects. Color facilitates perceptual.
Color. Understanding Color ● What is a color? ● How is color perceived? ● How can color be represented?
Importance of Color Painters first used charcoal Early artists used ochre to add red Colors are not always the same from culture to culture.
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.
CSC361/ Digital Media Burg/Wong
CS6825: Color 2 Light and Color Light is electromagnetic radiation Light is electromagnetic radiation Visible light: nm. range Visible light:
Graphics Lecture 4: Slide 1 Interactive Computer Graphics Lecture 4: Colour.
Color Processing : Rendering and Image Processing Alexei Efros …with most figures shamelessly stolen from Forsyth & Ponce and Gonzalez & Woods.
Sensory Information Processing
Three-Receptor Model Designing a system that can individually display thousands of colors is very difficult Instead, colors can be reproduced by mixing.
Introduction to Computer Graphics
Color Models. Color models,cont’d Different meanings of color: painting wavelength of visible light human eye perception.
Color and Brightness Constancy Jim Rehg CS 4495/7495 Computer Vision Lecture 25 & 26 Wed Oct 18, 2002.
CS-321 Dr. Mark L. Hornick 1 Color Perception. CS-321 Dr. Mark L. Hornick 2 Color Perception.
Chapter 9: Perceiving Color. Figure 9-1 p200 Figure 9-2 p201.
09/10/02(c) University of Wisconsin, CS559 Fall 2002 Last Time Digital Images –Spatial and Color resolution Color –The physics of color.
1 of 32 Computer Graphics Color. 2 of 32 Basics Of Color elements of color:
Color Models Light property Color models.
Color September, 30.
(c) University of Wisconsin, CS559 Spring 2002
COSC579: Color and Perception
Chapter 6: Color Image Processing
Colour Theory Fundamentals
Color & Light CMSC 435/634.
Computer Vision - A Modern Approach
© University of Wisconsin, CS559 Spring 2004
Color Representation Although we can differentiate a hundred different grey-levels, we can easily differentiate thousands of colors.
Outline Color perception Introduction Theories of color perception
The CIE System Dr Huw Owens.
Slides taken from Scott Schaefer
Color Models l Ultraviolet Infrared 10 Microwave 10
Presentation transcript:

Colour Reading: Chapter 6 Light is produced in different amounts at different wavelengths by each light source Light is differentially reflected at each wavelength, which gives objects their natural colours (surface albedoes) The sensation of colour is determined by the human visual system, based on the product of light and reflectance Credits: Many slides in this section from Jim Rehg and Frank Dellaert

Measurements of relative spectral power of sunlight, made by J. Parkkinen and P. Silfsten. Relative spectral power is plotted against wavelength in nm. The visible range is about 400nm to 700nm. The colour names on the horizontal axis give the colour names used for monochromatic light of the corresponding wavelength. Violet Indigo Blue Green Yellow Orange Red Spectral power gives the amount of light emitted at each wavelength.

Black body radiators Construct a hot body with near-zero albedo (black body) –Easiest way to do this is to build a hollow metal object with a tiny hole in it, and look at the hole. The spectral power distribution of light leaving this object is a function of temperature (degrees Kelvin) –Surprisingly, the material does not make a difference! This leads to the notion of colour temperature --- the temperature of a black body that would create that colour –Candle flame or sunset: about 2000K –Incandescent light bulbs: 3000K –Daylight (sun): 5500K –Blue sky (shadowed from sun): 15,000K Colour camera film is rated by colour temperature

Relative spectral power of two standard illuminant models --- D65 models sunlight,and illuminant A models incandescent lamps. Relative spectral power is plotted against wavelength in nm. Violet Indigo Blue Green Yellow Orange Red

Measurements of relative spectral power of four different artificial illuminants, made by H.Sugiura. Relative spectral power is plotted against wavelength in nm. The visible range is about 400nm to 700nm.

Spectral albedoes for several different flowers, with colour names attached. Notice that different colours typically have different spectral albedo, but that different spectral albedoes may result in the same perceived colour (compare the two whites). Spectral albedoes are typically quite smooth functions. Measurements by E.Koivisto. Spectral reflectance (or spectral albedo) gives the proportion of light that is reflected at each wavelength

The appearance of colours Reflected light at each wavelength is the product of illumination and surface reflectance Surface reflectance is typically modeled as having two components: – Lambertian reflectance: equal in all directions (diffuse) –Specular reflectance: mirror reflectance (shiny spots)

When one views a coloured surface, the spectral radiance of the light reaching the eye depends on both the spectral radiance of the illuminant, and on the spectral albedo of the surface.

colour Names for Cartoon Spectra

Additive colour Mixing

Subtractive colour Mixing

Colour matching experiments - I Show a split field to subjects; one side shows the light whose colour one wants to measure, the other a weighted mixture of primaries (fixed lights).

Colour Matching Process Basis for industrial colour standards

Colour Matching Experiment 1 Image courtesy Bill Freeman

Colour Matching Experiment 1 Image courtesy Bill Freeman

Colour Matching Experiment 1 Image courtesy Bill Freeman

Colour Matching Experiment 2 Image courtesy Bill Freeman

Colour Matching Experiment 2 Image courtesy Bill Freeman

Colour Matching Experiment 2 Image courtesy Bill Freeman

Colour matching experiments - II Many colours can be represented as a positive weighted sum of A, B, C write M=a A + b B + c C where the = sign should be read as “matches” This is additive matching. Gives a colour description system - two people who agree on A, B, C need only supply (a, b, c) to describe a colour.

Subtractive matching Some colours can’t be matched like this: instead, must write M+a A = b B+c C This is subtractive matching. Interpret this as (-a, b, c) Problem for building monitors: Choose R, G, B such that positive linear combinations match a large set of colours

The principle of trichromacy Experimental facts: –Three primaries will work for most people if we allow subtractive matching Exceptional people can match with two or only one primary (colour blindness) This could be caused by a variety of deficiencies. –Most people make the same matches. There are some anomalous trichromats, who use three primaries but make different combinations to match.

Human Photoreceptors FoveaPeriphery

Human Cone Sensitivities Spectral sensitivity of L, M, S (red, green, blue) cones in human eye

Grassman’s Laws

Linear colour spaces A choice of primaries yields a linear colour space --- the coordinates of a colour are given by the weights of the primaries used to match it. Choice of primaries is equivalent to choice of colour space. RGB: primaries are monochromatic. Energies are 645.2nm, 526.3nm, 444.4nm. CIE XYZ: Primaries are imaginary, but have other convenient properties. Colour coordinates are (X,Y,Z), where X is the amount of the X primary, etc.

monochromatic 645.2, 526.3, nm. negative parts -> some colours can be matched only subtractively. RBG colour Matching Figure courtesy of D. Forsyth

CIE XYZ: colour matching functions are positive everywhere, but primaries are imaginary. Usually draw x, y, where x=X/(X+Y+Z) y=Y/(X+Y+Z) So overall brightness is ignored. CIE XYZ colour Matching Figure courtesy of D. Forsyth

Geometry of colour (CIE) White is in the center, with saturation increasing towards the boundary Mixing two coloured lights creates colours on a straight line Mixing 3 colours creates colours within a triangle Curved edge means there are no 3 actual lights that can create all colours that humans perceive!

RGB colour Space The colours that can be displayed on a typical computer monitor (phosphor limitations keep the space quite small)

The black-body locus (the colours of heated black-bodies).

Uniform colour spaces McAdam ellipses (next slide) demonstrate that differences in x,y are a poor guide to differences in colour –Each ellipse shows colours that are perceived to be the same Construct colour spaces so that differences in coordinates are a good guide to differences in colour.

Figures courtesy of D. Forsyth McAdam ellipses 10 times actual size Actual size

Non-linear colour spaces HSV: (Hue, Saturation, Value) are non-linear functions of XYZ. –because hue relations are naturally expressed in a circle Munsell: describes surfaces, rather than lights - less relevant for graphics. Surfaces must be viewed under fixed comparison light

Adaptation phenomena The response of your colour system depends both on spatial contrast and what it has seen before (adaptation) This seems to be a result of coding constraints -- receptors appear to have an operating point that varies slowly over time, and to signal some sort of offset. One form of adaptation involves changing this operating point. Common example: walk inside from a bright day; everything looks dark for a bit, then takes its conventional brightness.

Viewing coloured objects Assume diffuse (Lambertian) plus specular model Specular component –specularities on dielectric (non- metalic) objects take the colour of the light –specularities on metals have colour of the metal Diffuse component –colour of reflected light depends on both illuminant and surface

Finding Specularities Assume we are dealing with dielectrics –specularly reflected light is the same colour as the source Reflected light has two components –diffuse –specular –and we see a weighted sum of these two Specularities produce a characteristic dogleg in the histogram of receptor responses –in a patch of diffuse surface, we see a colour multiplied by different scaling constants (surface orientation) –in the specular patch, a new colour is added; a “dog- leg” results

Skewed-T in Histogram A Physical Approach to colour Image Understanding – Klinker, Shafer, and Kanade. IJCV 1990 Figure courtesy of D. Forsyth

Figure courtesy of D. Forsyth Skewed-T in Histogram

Recent Application to Stereo Motion of camera causes highlight location to change. This cue can be combined with histogram analysis. Synthetic scene: Figure courtesy of Sing Bing Kang

Recent Application to Stereo “Real” scene: Figure courtesy of Sing Bing Kang

Human colour Constancy Colour constancy: determine hue and saturation under different colours of lighting Lightness constancy: gray-level reflectance under differing intensity of lighting Humans can perceive –colour a surface would have under white light –colour of reflected light (separate surface colour from measured colour) –colour of illuminant (limited)

Land’s Mondrian Experiments Squares of colour with the same colour radiance yield very different colour perceptions Photometer: 1.0, 0.3, 0.3 Audience: “Red”Audience: “Blue” White light Red light Blue Red Blue Red

Basic Model for Lightness Constancy Assumptions: –Planar frontal scene –Lambertian reflectance –Linear camera response Modeling assumptions for scene –Piecewise constant surface reflectance –Slowly-varying Illumination

1-D Lightness “Retinex” Threshold gradient image to find surface (patch) boundaries Figure courtesy of D. Forsyth

1-D Lightness “Retinex” Integration to recover surface lightness (unknown constant) Figure courtesy of D. Forsyth

colour Retinex Images courtesy John McCann

Colour constancy Following methods have been used: –Average reflectance across scene is known (often fails) –Brightest patch is white –Gamut (collection of all colours) falls within known range –Known reference colour (colour chart, skin colour…) Gamut method works quite well for correcting photographs for human observers, but not well enough for recognition For object recognition, best approach is to use ratio of colours on the same object (Funt and Finlayson, 1995)