Color. Some slides are adopted from William T. Freeman

Size: px
Start display at page:

Download "Color. Some slides are adopted from William T. Freeman"

Transcription

1 Color Some slides are adopted from William T. Freeman 1 1

2 Why Study Color Color is important to many visual tasks To find fruits in foliage To find people s skin (whether a person looks healthy) To group parts of one object together in a scene To distinguish material changes from shading changes Human eyes can discern thousands of colors but only about two dozens of shades of gray 2

3 3 Do you really know color?

4 4 Color is cyclic?

5 5

6 Why no purple in rainbow? Purple does not exist in nature. 6

7 Why no brown in rainbow? Brown does not exist in nature. 7

8 Spectrum of Visible Light Visible spectrum: approx. 400 ~ 700 nm Visible colors: ROYGBIV with IR and UV at the two extremes (excluding) Isaac Newton Fig: Color spectrum seen by passing white light through a prism (As of Gonzalez 2e Page 283) Fig: Wavelengths comprising the visible range of electromagnetic spectrum (As of Gonzalez 3e Page 284) 8

9 Spectrum of Reflected Light Color of objects depends on the spectrum of light reflected from it This spectrum depends on both the illumination and the surface spectral computation involves a wavelength-by-wavelength multiplication of relative energies.* = Foundations of Vision, by Brian Wandell, Sinauer Assoc.,

10 the spectra of light sources Blue sky Tungsten light bulb Foundations of Vision, by Brian Wandell, Sinauer Assoc.,

11 the spectral albedo of surfaces Spectral albedo for several different leaves, with color names attached. Notice that different colors typically have different spectral albedo, but that different spectral albedoes may result in the same perceived color (compare the two whites). 11 Computer Vision A Modern Approach, Forsyth and Ponce, 2002

12 How do We Perceive Color? Cones are the cells in our eyes to sense color. There are three types of cones that absorb red, green and blue. The sensation of a certain color is produced due to the mixed response of these three types of cones in a certain proportion. Each cone is sensitive to a wide range of wavelength Foundations of Vision, by Brian Wandell, Sinauer Assoc., Fig: Absorption of light by red, green and blue cones in the human eye as a function of wavelength (As of Gonzalez 2e Page 285)

13 Cone and Rod 13

14 primary colors primary color of lights primary color of pigments blue green red nm nm nm cyan magenta yellow minus red nm minus green nm minus blue nm

15 additive color mixing red green nm When colors combine by adding the color spectra. Example color displays that follow this mixing rule: CRT phosphors, multiple projectors aimed at a screen nm Red and green make yellow nm 15 Fig: Primary & Secondary colors of light & pigments (As of Gonzalez 2e Page 286)

16 16

17 subtractive color mixing cyan nm When colors combine by multiplying the color spectra. Examples that follow this mixing rule: most photographic films, paint, cascaded optical filters. yellow nm Cyan and yellow make green nm Fig: Primary & Secondary colors of light & pigments (As of Gonzalez 2e Page 286)

18 How do Cameras Capture Color? Each pixel captures red, green and blue intensities A color is represented as a [R,G,B] three vector Example sensitivity of real cameras 18 Grasshopper camera GRAS-14S5C from PointGray

19 Summary of Color Imaging spectra camera sensitivity reflected signal 19

20 Questions? 20

21 Multispectral Imaging reflected signal Record the raw reflected signal (record the intensity at all wavelength) 21

22 Multispectral Imaging ICCV

23 23 slides from Stephen Lin, ICCV 2009

24 24 slides from Stephen Lin, ICCV 2009

25 25 slides from Stephen Lin, ICCV 2009

26 26 slides from Stephen Lin, ICCV 2009

27 27 slides from Stephen Lin, ICCV 2009

28 28 slides from Stephen Lin, ICCV 2009

29 29 slides from Stephen Lin, ICCV 2009

30 Why Multispectral Imaging? Additional information to solve difficult vision problems (a good example of computational photography) Examples 1: distinct real and printed skin Example 2: see throw inks 610nm nm

31 Questions? 31

32 Why & How to Specify Color Numerically? Accurate color is commercially valuable Many products are identified by color ( golden arches of McDonald's, the orange NUS logo); Few color names in natural languages About 10 English words; other languages have fewer/ more, but not many more. It s common to disagree on appropriate color names. Color reproduction problems increased by prevalence of digital imaging and printing How to ensure a color look the same on different media (e.g. monitors, phones and printers)? How to specify color numerically? Mix primary colors to represent other colors How to decide the mixture coefficients?? 32

33 Color Matching Color matching: use three primary colors to represent other colors 33 Foundations of Vision, by Brian Wandell, Sinauer Assoc., 1995

34 34 color matching experiment 1

35 color matching experiment 1 35 p 1 p 2 p 3

36 color matching experiment 1 36 p 1 p 2 p 3

37 color matching experiment 1 The primary color amounts needed for a match 37 p 1 p 2 p 3

38 38 color matching experiment 2

39 color matching experiment 2 39 p 1 p 2 p 3

40 color matching experiment 2 40 p 1 p 2 p 3

41 color matching experiment 2 We say a negative amount of p 2 was needed to make the match, because we added it to the test color s side. The primary color amounts needed for a match: p 1 p 2 p 3 p 1 p 2 p 3 41 p 1 p 2 p 3

42 Questions? 42

43 Color Computation Problems Compute the color match (mixture weight) for any light signal for any specified primary colors Input: a light spectrum, three primary colors Output: mixing weights of your primaries that would give perceptual match to that light spectrum. Possible solution color matching for all visible light signals. Can we reduce the workload?? 43

44 color A color B Once we know the mixture coefficients of A and B, we can determine that of any color on the line segment AB 44 Foundations of Vision, by Brian Wandell, Sinauer Assoc., 1995

45 Grassman s Laws = means two colors are perceived the same by the color matching experiment, + means mixing two colors First, if : T a = w a1 P 1 + w a2 P 2 + w a3 P 3 T b = w b1 P 1 + w b2 P 2 + w b3 P 3 then T a + T b = (w a1 +w b1 ) P 1 + (w a2 +w b2 ) P 2 + (w a3 +w b3 ) P 3 Second, Finally, if : T a = w 1 P 1 + w 2 P 2 + w 3 P 3 T b = w 1 P 1 + w 2 P 2 + w 3 P 3 then T a = T b if : T a = w 1 P 1 + w 2 P 2 + w 3 P 3 then k T a = (kw 1 ) P 1 + (kw 2 ) P 2 + (kw 3 ) P 3 These statements are as true as any biological law. They mean that additive color matching is linear. 45

46 compute the color match for any color signal for any set of primary colors p 1 p 2 p 3 Examples of why you d want to do that: Want to match skin color of a person in a photograph printed on an ink jet printer to their true skin color. 46

47 measuring color matching functions Pick a set of primaries, p1( λ ), p2( λ ), p3( λ ) Measure the mixture coefficients c1 ( λ0), c2( λ0), c3( λ0) needed to match a monochromatic light, t( λ at each spectral wavelength 0 ) λ 0 c1 ( λ0), c2( λ0), c3( λ0) are called color matching functions they are functions of λ 0 47 λ 0 p 1 p 2 p 3

48 48 using color matching functions A monochromatic light of wavelength will be matched by mixing primaries according to λ i ) ( ), ( ), ( i i i c c c λ λ λ + + = = 1 0 ) ( 0 1 ) ( ) ( ) ( 1 1 N N t t t t t λ λ λ λ Any spectral signal can be thought of as a linear combination of many monochromatic lights, with the linear coefficient given by the spectral power at each wavelength. According to Grassman s law, the weights of this signal is a combination of the weights of monochromatic lights.

49 Metamerism 49

50 Internal Review So, for any set of primary colors, if we are given the spectral color matching functions for a set of primary lights, we can calculate the amounts of each primary needed to give a perceptual match to any spectral signal. 50

51 Common color representation 51

52 Color spaces: RGB Default color space 0,1,0 R (G=0,B=0) 1,0,0 0,0,1 RGB cube Easy for devices But not perceptual Where do the grays live? Where is hue and saturation? G (R=0,B=0) B (R=0,G=0) Image from:

53 HSV Hue, Saturation, Value (Intensity) RGB cube on its vertex Decouples the three components (a bit) Use rgb2hsv() and hsv2rgb() in Matlab Slide by Steve Seitz

54 Color spaces: HSV Intuitive color space H (S=1,V=1) S (H=1,V=1) V (H=1,S=0)

55 55 Physical vs Biological

56 HSV Color Space Characteristics used to distinguish one color from another are: Brightness, Hue, and Saturation. Brightness embodies the chromatic notion of intensity. Hue is associated with the dominant wavelength in a mixture of light waves. It represents the dominant color as perceived by an observer. Saturation refers to the relative purity or the amount of white light mixed with hue. The pure spectrum colors are fully saturated. Color such as pink (red and white) is less saturated. The degree of saturation is inversely proportional to the amount of white light added. 56

57 conversion from RGB to HSV The following formulas show how to convert from RGB space to HSI: To convert from HSI to RGB, the process depends on which color sector H lies in. B = I(1 S) For the RG sector: o o S cos 120 H 240 R = I 1 + For the GB sector: cos 60 o o For the BR sector: 0 H 120 G = 3I ( R + B) 57 S = 1 H θ = ( R + G + B) [ ] [( R G) + ( R B) ] o θ if if min( R, G, B) B G B > G o 240 V θ H 360 o = 1 3 = cos ( R + G + B) 1 B = I 1 + R = 3I H = H 240 G = I(1 S) [ ] ( R G) + ( R B)( G B) 1 S cos H H cos( 60 ) ( G + B) H = H 120 R = I(1 S) G = I 1 + B = 3I H H ( ) S cos H H cos( 60 ) ( R + G)

58 CIE XYZ Color Space Since we can define colors using almost any set of primary colors, let s agree on a set of primaries and color matching functions for the world to use Commission Internationale d Eclairage, 1931 The color matching functions from RGB has negative coefficients p 1 = nm p 2 = nm p 3 = nm 58

59 CIE XYZ Color Space Commission Internationale d Eclairage, 1931 as with any standards decision, there are some irratating aspects of the XYZ colormatching functions as well no set of physically realizable primary lights that by direct measurement will yield the color matching functions. Foundations of Vision, by Brian Wandell, Sinauer Assoc., 1995 CIE XYZ: Usually compute x, y, where x=x/(x+y+z) y=y/(x+y+z) Color matching functions are positive everywhere, but primary colors are imaginary. 59

60 CIE XYZ Color Space A qualitative rendering of the CIE (x,y) space. The blobby region represents visible colors. x=x/(x+y+z) y=y/(x+y+z) There are sets of (x, y) coordinates that don t represent real colors, because the primaries are not real lights (so that the color matching functions could be positive everywhere). 60 Fig: Chromaticity Diagram (As of Gonzalez 2e Page 288)

61 pure wavelength in chromaticity diagram The colors of mono-chromatic lights form the boundary of the visible light blob 61

62 CIE Color Space Think of X, Y, Z as coordinates Linear transform from srgb Generate all visible colors by positive coefficients Many points in XYZ do not correspond to visible colors! XYZ vs. RGB XYZ is rarely used for storage There are tons of flavors of RGB (srgb, Adobe RGB), all different matrices! XYZ is more standardized XYZ can reproduce all colors with positive values 62

63 Questions? 63

64 YUV Color Space The YUV color model defines a color space in terms of one luminance and two chrominance components. The YUV color model is used in the PAL, NTSC, and SECAM composite color video standards. 64

65 YUV Color Space The YUV color model defines a color space in terms of one luminance and two chrominance components. The YUV color model is used in the PAL, NTSC, and SECAM composite color video standards. 65

66 Color Spaces R G B V H S 66 Y U V

67 Questions? 67

68 Spatial Resolution and Color R G original B 68

69 blurring the G component original R G processed B 69

70 blurring the R component original R G processed B 70

71 blurring the B component original R G processed B 71

72 YUV Color Components Y U original V 72

73 blurring the Y Lab component original Y U processed V 73

74 blurring the U Lab component original Y U processed V 74

75 blurring the V Lab component original Y U processed V 75

76 Questions? 76

77 Capture Color Images Sergei Prokudin-Gorskii ( ), took three monochrome pictures in sequence, each through a different colored filter. The original color scene can be reconstructed by projecting these three pictures using correctly colored light CCD cameras capture each channel of red, green and blue light by a separate CCD Light coming into lens is split by a prism High image quality, but complicated and expensive system

78 Capture Color Images Bayer Pattern Most modern digital cameras have a single CCD sensor with color filter array (CFA) applied. Each pixel record the intensity of either red, green or blue. The most popular filter array is the Bayer Pattern filter. Fig: RGB Bayer filter (named after its inventor, Dr. Bryce E. Bayer from Kodak), picture from wiki the captured picture the reference real picture 78 There are more green pixels than red and blue The missing RGB values will be interpolated from the captured ones. This process is known as Demosaicing.

79 79 Siggraph 2009

80 Use IR and UV Flashlight 80 Invisible flashlight will not disturb the captured subjects. Explore the correlation between the flash and non-flash image to denoise the ambient image. F: dark flash image; A: ambient image; R: denoise ambient image; L: long exposure image under ambient light as a reference.

81 Color Lines 81

82 Color Distribution of Real Images Pixel value varies because of surface color, illumination, noise, etc A good color representation should separate surface color changes from other sources so that we can tell if two points have similar color or not Popular models (YUV, Lab, etc) are linear transformations of the RGB space But pixels in real images form curved clusters 82

83 Color Distribution of Real Images Primary causes for non-linear color distribution Scene changes such as highlight Sensor saturation 83

84 Color Distribution of Real Images Primary causes for non-linear color distribution Scene changes such as highlight Sensor saturation Camera built-in processing Color blending 84

85 Color Lines Represent the color distribution by a set of lines A color line consists of: A set of skeleton points of the line A 2D Gaussian for each point in the plane perpendicular to the line Typically, an image needs about ~ 40 lines, each with ~ 6 points (and their 2D Gaussian) 85

86 Estimating Color Lines Slice the RGB space by hemispheres of equal distance Build 2D histgram for pixels distributed within two hemispheres Find local maximums Merge nearby maximums Fit a 2D Gaussian for each maximum Connect nearby maximum points in consecutive slices 86

87 Color Lines Applications Reasonable segmentation by grouping pixels of the same line together 87

88 Color Lines Applications Recolor objects by applying transformations to lines 88

89 Questions? 89

90 Recent Papers on Color Color Transfer (transfer the color of one image to another) Transferring Color to Greyscale Images, T. Welsh, M. Ashikhmin, K. Mueller, SIGGRAPH 2002 Colorization using Optimization, A. Levin, D. Lischinski, Y. Weiss, SIGGRAPH 2004 Semantic Colorization with Internet images, Y. Chia, S. Zhuo, R. Gupta, Y. Tai, S. Cho, P. Tan, S. Lin, Siggraph Asia 2011 Color2Gray: Salience-Preserving Color Removal, A. Gooch, S. Olsen, J. Tumblin, B. Gooch, SIGGRAPH 2005 Example-Based Image Color and Tone Style Enhancement, B. Wang, Y. Yu, Y.Q. Xu, SIGGRAPH 2011 Color Compatibility (which color combination is pretty) Color Harmonization, D. Cohen-Or, O. Sorkine, R. Gal, T. Leyvand Y.Q. Xu, SIGGRAPH 2006 Color Compatibility From Large Datasets, P. O Donovan, A. Agarwala, A. Hertzmann, SIGGRAPH

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

Image and video processing (EBU723U) Colour Images. Dr. Yi-Zhe Song Image and video processing () Colour Images Dr. Yi-Zhe Song yizhe.song@qmul.ac.uk Today s agenda Colour spaces Colour images PGM/PPM images Today s agenda Colour spaces Colour images PGM/PPM images History

More information

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

For a long time I limited myself to one color as a form of discipline. Pablo Picasso. Color Image Processing For a long time I limited myself to one color as a form of discipline. Pablo Picasso Color Image Processing 1 Preview Motive - Color is a powerful descriptor that often simplifies object identification

More information

Color Image Processing EEE 6209 Digital Image Processing. Outline

Color Image Processing EEE 6209 Digital Image Processing. Outline Outline Color Image Processing Motivation and Color Fundamentals Standard Color Models (RGB/CMYK/HSI) Demosaicing and Color Filtering Pseudo-color and Full-color Image Processing Color Transformation Tone

More information

Capturing Light in man and machine

Capturing Light in man and machine Capturing Light in man and machine CS194: Image Manipulation & Computational Photography Alexei Efros, UC Berkeley, Fall 2015 Etymology PHOTOGRAPHY light drawing / writing Image Formation Digital Camera

More information

Color Image Processing. Gonzales & Woods: Chapter 6

Color Image Processing. Gonzales & Woods: Chapter 6 Color Image Processing Gonzales & Woods: Chapter 6 Objectives What are the most important concepts and terms related to color perception? What are the main color models used to represent and quantify color?

More information

Color Image Processing

Color Image Processing Color Image Processing Jesus J. Caban Outline Discuss Assignment #1 Project Proposal Color Perception & Analysis 1 Discuss Assignment #1 Project Proposal Due next Monday, Oct 4th Project proposal Submit

More information

Color and color constancy

Color and color constancy Color and color constancy 6.869, MIT (Bill Freeman) Antonio Torralba Sept. 12, 2013 Why does a visual system need color? http://www.hobbylinc.com/gr/pll/pll5019.jpg Why does a visual system need color?

More information

Color and color constancy

Color and color constancy Color and color constancy 6.869, MIT Bill Freeman Antonio Torralba Feb. 22, 2011 Why does a visual system need color? http://www.hobbylinc.com/gr/pll/pll5019.jpg Why does a visual system need color? (an

More information

Capturing Light in man and machine

Capturing Light in man and machine Capturing Light in man and machine CS194: Image Manipulation & Computational Photography Alexei Efros, UC Berkeley, Fall 2014 Etymology PHOTOGRAPHY light drawing / writing Image Formation Digital Camera

More information

6 Color Image Processing

6 Color Image Processing 6 Color Image Processing Angela Chih-Wei Tang ( 唐之瑋 ) Department of Communication Engineering National Central University JhongLi, Taiwan 2009 Fall Outline Color fundamentals Color models Pseudocolor image

More information

Digital Image Processing. Lecture # 8 Color Processing

Digital Image Processing. Lecture # 8 Color Processing Digital Image Processing Lecture # 8 Color Processing 1 COLOR IMAGE PROCESSING COLOR IMAGE PROCESSING Color Importance Color is an excellent descriptor Suitable for object Identification and Extraction

More information

Lecture 8. Color Image Processing

Lecture 8. Color Image Processing Lecture 8. Color Image Processing EL512 Image Processing Dr. Zhu Liu zliu@research.att.com Note: Part of the materials in the slides are from Gonzalez s Digital Image Processing and Onur s lecture slides

More information

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

Fig Color spectrum seen by passing white light through a prism. 1. Explain about color fundamentals. Color of an object is determined by the nature of the light reflected from it. When a beam of sunlight passes through a glass prism, the emerging beam of light is not

More information

Digital Image Processing Color Models &Processing

Digital Image Processing Color Models &Processing Digital Image Processing Color Models &Processing Dr. Hatem Elaydi Electrical Engineering Department Islamic University of Gaza Fall 2015 Nov 16, 2015 Color interpretation Color spectrum vs. electromagnetic

More information

Digital Image Processing. Lecture # 6 Corner Detection & Color Processing

Digital Image Processing. Lecture # 6 Corner Detection & Color Processing Digital Image Processing Lecture # 6 Corner Detection & Color Processing 1 Corners Corners (interest points) Unlike edges, corners (patches of pixels surrounding the corner) do not necessarily correspond

More information

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

Digital Image Processing COSC 6380/4393. Lecture 20 Oct 25 th, 2018 Pranav Mantini Digital Image Processing COSC 6380/4393 Lecture 20 Oct 25 th, 2018 Pranav Mantini What is color? Color is a psychological property of our visual experiences when we look at objects and lights, not a physical

More information

Color images C1 C2 C3

Color images C1 C2 C3 Color imaging Color images C1 C2 C3 Each colored pixel corresponds to a vector of three values {C1,C2,C3} The characteristics of the components depend on the chosen colorspace (RGB, YUV, CIELab,..) Digital

More information

Today. Color. Color and light. Color and light. Electromagnetic spectrum 2/7/2011. CS376 Lecture 6: Color 1. What is color?

Today. Color. Color and light. Color and light. Electromagnetic spectrum 2/7/2011. CS376 Lecture 6: Color 1. What is color? Color Monday, Feb 7 Prof. UT-Austin Today Measuring color Spectral power distributions Color mixing Color matching experiments Color spaces Uniform color spaces Perception of color Human photoreceptors

More information

Color image processing

Color image processing Color image processing Color images C1 C2 C3 Each colored pixel corresponds to a vector of three values {C1,C2,C3} The characteristics of the components depend on the chosen colorspace (RGB, YUV, CIELab,..)

More information

Capturing Light in man and machine

Capturing Light in man and machine Capturing Light in man and machine CS194: Image Manipulation & Computational Photography Alexei Efros, UC Berkeley, Fall 2016 Textbook http://szeliski.org/book/ General Comments Prerequisites Linear algebra!!!

More information

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

Achim J. Lilienthal Mobile Robotics and Olfaction Lab, AASS, Örebro University Achim J. Lilienthal Mobile Robotics and Olfaction Lab, Room T1227, Mo, 11-12 o'clock AASS, Örebro University (please drop me an email in advance) achim.lilienthal@oru.se 1 2. General Introduction Schedule

More information

COLOR. and the human response to light

COLOR. and the human response to light COLOR and the human response to light Contents Introduction: The nature of light The physiology of human vision Color Spaces: Linear Artistic View Standard Distances between colors Color in the TV 2 Amazing

More information

Digital Image Processing (DIP)

Digital Image Processing (DIP) University of Kurdistan Digital Image Processing (DIP) Lecture 6: Color Image Processing Instructor: Kaveh Mollazade, Ph.D. Department of Biosystems Engineering, Faculty of Agriculture, University of Kurdistan,

More information

COLOR and the human response to light

COLOR and the human response to light COLOR and the human response to light Contents Introduction: The nature of light The physiology of human vision Color Spaces: Linear Artistic View Standard Distances between colors Color in the TV 2 How

More information

Announcements. Color. Last time. Today: Color. Color and light. Review questions

Announcements. Color. Last time. Today: Color. Color and light. Review questions Announcements Color Thursday, Sept 4 Class website reminder http://www.cs.utexas.edu/~grauman/cours es/fall2008/main.htm Pset 1 out today Last time Image formation: Projection equations Homogeneous coordinates

More information

Announcements. The appearance of colors

Announcements. The appearance of colors Announcements Introduction to Computer Vision CSE 152 Lecture 6 HW1 is assigned See links on web page for readings on color. Oscar Beijbom will be giving the lecture on Tuesday. I will not be holding office

More information

Frequencies and Color

Frequencies and Color Frequencies and Color Alexei Efros, CS280, Spring 2018 Salvador Dali Gala Contemplating the Mediterranean Sea, which at 30 meters becomes the portrait of Abraham Lincoln, 1976 Spatial Frequencies and

More information

Capturing Light in man and machine

Capturing Light in man and machine Capturing Light in man and machine 15-463: Computational Photography Alexei Efros, CMU, Fall 2010 Etymology PHOTOGRAPHY light drawing / writing Image Formation Digital Camera Film The Eye Sensor Array

More information

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

Announcements. Electromagnetic Spectrum. The appearance of colors. Homework 4 is due Tue, Dec 6, 11:59 PM Reading: Announcements Homework 4 is due Tue, Dec 6, 11:59 PM Reading: Chapter 3: Color CSE 252A Lecture 18 Electromagnetic Spectrum The appearance of colors Color appearance is strongly affected by (at least):

More information

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

Color Science. What light is. Measuring light. CS 4620 Lecture 15. Salient property is the spectral power distribution (SPD) Color Science CS 4620 Lecture 15 1 2 What light is Measuring light Light is electromagnetic radiation Salient property is the spectral power distribution (SPD) [Lawrence Berkeley Lab / MicroWorlds] exists

More information

Introduction to Computer Vision CSE 152 Lecture 18

Introduction to Computer Vision CSE 152 Lecture 18 CSE 152 Lecture 18 Announcements Homework 5 is due Sat, Jun 9, 11:59 PM Reading: Chapter 3: Color Electromagnetic Spectrum The appearance of colors Color appearance is strongly affected by (at least):

More information

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

Light. intensity wavelength. Light is electromagnetic waves Laser is light that contains only a narrow spectrum of frequencies Image formation World, image, eye Light Light is electromagnetic waves Laser is light that contains only a narrow spectrum of frequencies intensity wavelength Visible light is light with wavelength from

More information

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

Colors in images. Color spaces, perception, mixing, printing, manipulating... Colors in images Color spaces, perception, mixing, printing, manipulating... Tomáš Svoboda Czech Technical University, Faculty of Electrical Engineering Center for Machine Perception, Prague, Czech Republic

More information

Capturing Light in man and machine

Capturing Light in man and machine Capturing Light in man and machine 15-463: Computational Photography Alexei Efros, CMU, Fall 2008 Image Formation Digital Camera Film The Eye Digital camera A digital camera replaces film with a sensor

More information

Unit 8: Color Image Processing

Unit 8: Color Image Processing Unit 8: Color Image Processing Colour Fundamentals In 666 Sir Isaac Newton discovered that when a beam of sunlight passes through a glass prism, the emerging beam is split into a spectrum of colours The

More information

Digital Image Processing

Digital Image Processing Digital Image Processing Color Image Processing Christophoros Nikou cnikou@cs.uoi.gr University of Ioannina - Department of Computer Science and Engineering 2 Color Image Processing It is only after years

More information

Computer Graphics Si Lu Fall /27/2016

Computer Graphics Si Lu Fall /27/2016 Computer Graphics Si Lu Fall 2017 09/27/2016 Announcement Class mailing list https://groups.google.com/d/forum/cs447-fall-2016 2 Demo Time The Making of Hallelujah with Lytro Immerge https://vimeo.com/213266879

More information

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

Image Processing for Mechatronics Engineering For senior undergraduate students Academic Year 2017/2018, Winter Semester Image Processing for Mechatronics Engineering For senior undergraduate students Academic Year 2017/2018, Winter Semester Lecture 8: Color Image Processing 04.11.2017 Dr. Mohammed Abdel-Megeed Salem Media

More information

Introduction to Color Science (Cont)

Introduction to Color Science (Cont) Lecture 24: Introduction to Color Science (Cont) Computer Graphics and Imaging UC Berkeley Empirical Color Matching Experiment Additive Color Matching Experiment Show test light spectrum on left Mix primaries

More information

Lecture: Color. Juan Carlos Niebles and Ranjay Krishna Stanford AI Lab. Lecture 1 - Stanford University

Lecture: Color. Juan Carlos Niebles and Ranjay Krishna Stanford AI Lab. Lecture 1 - Stanford University Lecture: Color Juan Carlos Niebles and Ranjay Krishna Stanford AI Lab Stanford University Lecture 1 - Overview of Color Physics of color Human encoding of color Color spaces White balancing Stanford University

More information

Chapter 3 Part 2 Color image processing

Chapter 3 Part 2 Color image processing Chapter 3 Part 2 Color image processing Motivation Color fundamentals Color models Pseudocolor image processing Full-color image processing: Component-wise Vector-based Recent and current work Spring 2002

More information

Color April 16 th, 2015

Color April 16 th, 2015 Color April 16 th, 2015 Yong Jae Lee UC Davis Today Measuring color Spectral power distributions Color mixing Color matching experiments Color spaces Uniform color spaces Perception of color Human photoreceptors

More information

LECTURE 07 COLORS IN IMAGES & VIDEO

LECTURE 07 COLORS IN IMAGES & VIDEO MULTIMEDIA TECHNOLOGIES LECTURE 07 COLORS IN IMAGES & VIDEO IMRAN IHSAN ASSISTANT PROFESSOR LIGHT AND SPECTRA Visible light is an electromagnetic wave in the 400nm 700 nm range. The eye is basically similar

More information

Capturing Light in man and machine. Some figures from Steve Seitz, Steve Palmer, Paul Debevec, and Gonzalez et al.

Capturing Light in man and machine. Some figures from Steve Seitz, Steve Palmer, Paul Debevec, and Gonzalez et al. Capturing Light in man and machine Some figures from Steve Seitz, Steve Palmer, Paul Debevec, and Gonzalez et al. 15-463: Computational Photography Alexei Efros, CMU, Fall 2005 Image Formation Digital

More information

Color. Homework 1 is out. Overview of today. color. Why is color useful 2/11/2008. Due on Mon 25 th Feb. Also start looking at ideas for projects

Color. Homework 1 is out. Overview of today. color. Why is color useful 2/11/2008. Due on Mon 25 th Feb. Also start looking at ideas for projects Homework 1 is out Color Lecture 2 Due on Mon 25 th Feb Also start looking at ideas for projects Suggestions are welcome! Overview of today Physics of color Human encoding of color Color spaces Camera sensor

More information

Color Image Processing

Color Image Processing Color Image Processing Selim Aksoy Department of Computer Engineering Bilkent University saksoy@cs.bilkent.edu.tr Color Used heavily in human vision. Visible spectrum for humans is 400 nm (blue) to 700

More information

Color. April 16 th, Yong Jae Lee UC Davis

Color. April 16 th, Yong Jae Lee UC Davis Color April 16 th, 2015 Yong Jae Lee UC Davis Measuring color Today Spectral power distributions Color mixing Color matching experiments Color spaces Uniform color spaces Perception of color Human photoreceptors

More information

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

Color & Graphics. Color & Vision. The complete display system is: We'll talk about: Model Frame Buffer Screen Eye Brain Color & Graphics The complete display system is: Model Frame Buffer Screen Eye Brain Color & Vision We'll talk about: Light Visions Psychophysics, Colorimetry Color Perceptually based models Hardware models

More information

Colors in Images & Video

Colors in Images & Video LECTURE 8 Colors in Images & Video CS 5513 Multimedia Systems Spring 2009 Imran Ihsan Principal Design Consultant OPUSVII www.opuseven.com Faculty of Engineering & Applied Sciences 1. Light and Spectra

More information

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

Color and Color Model. Chap. 12 Intro. to Computer Graphics, Spring 2009, Y. G. Shin Color and Color Model Chap. 12 Intro. to Computer Graphics, Spring 2009, Y. G. Shin Color Interpretation of color is a psychophysiology problem We could not fully understand the mechanism Physical characteristics

More information

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

To discuss. Color Science Color Models in image. Computer Graphics 2 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

More information

INSTITUTIONEN FÖR SYSTEMTEKNIK LULEÅ TEKNISKA UNIVERSITET

INSTITUTIONEN FÖR SYSTEMTEKNIK LULEÅ TEKNISKA UNIVERSITET INSTITUTIONEN FÖR SYSTEMTEKNIK LULEÅ TEKNISKA UNIVERSITET Some color images on this slide Last Lecture 2D filtering frequency domain The magnitude of the 2D DFT gives the amplitudes of the sinusoids and

More information

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

Understand brightness, intensity, eye characteristics, and gamma correction, halftone technology, Understand general usage of color Understand brightness, intensity, eye characteristics, and gamma correction, halftone technology, Understand general usage of color 1 ACHROMATIC LIGHT (Grayscale) Quantity of light physics sense of energy

More information

CMPSCI 670: Computer Vision! Color. University of Massachusetts, Amherst September 15, 2014 Instructor: Subhransu Maji

CMPSCI 670: Computer Vision! Color. University of Massachusetts, Amherst September 15, 2014 Instructor: Subhransu Maji CMPSCI 670: Computer Vision! Color University of Massachusetts, Amherst September 15, 2014 Instructor: Subhransu Maji Slides by D.A. Forsyth 2 Color is the result of interaction between light in the environment

More information

Color Reproduction. Chapter 6

Color Reproduction. Chapter 6 Chapter 6 Color Reproduction Take a digital camera and click a picture of a scene. This is the color reproduction of the original scene. The success of a color reproduction lies in how close the reproduced

More information

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

the eye Light is electromagnetic radiation. The different wavelengths of the (to humans) visible part of the spectra make up the colors. Computer Assisted Image Analysis TF 3p and MN1 5p Color Image Processing Lecture 14 GW 6 (suggested problem 6.25) How does the human eye perceive color? How can color be described using mathematics? Different

More information

Continued. Introduction to Computer Vision CSE 252a Lecture 11

Continued. Introduction to Computer Vision CSE 252a Lecture 11 Continued Introduction to Computer Vision CSE 252a Lecture 11 The appearance of colors Color appearance is strongly affected by (at least): Spectrum of lighting striking the retina other nearby colors

More information

Color Cameras: Three kinds of pixels

Color Cameras: Three kinds of pixels Color Cameras: Three kinds of pixels 3 Chip Camera Introduction to Computer Vision CSE 252a Lecture 9 Lens Dichroic prism Optically split incoming light onto three sensors, each responding to different

More information

Digital Image Processing

Digital Image Processing Digital Image Processing 6. Color Image Processing Computer Engineering, Sejong University Category of Color Processing Algorithm Full-color processing Using Full color sensor, it can obtain the image

More information

EECS490: Digital Image Processing. Lecture #12

EECS490: Digital Image Processing. Lecture #12 Lecture #12 Image Correlation (example) Color basics (Chapter 6) The Chromaticity Diagram Color Images RGB Color Cube Color spaces Pseudocolor Multispectral Imaging White Light A prism splits white light

More information

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

Multimedia Systems Color Space Mahdi Amiri March 2012 Sharif University of Technology Course Presentation Multimedia Systems Color Space Mahdi Amiri March 2012 Sharif University of Technology Physics of Color Light Light or visible light is the portion of electromagnetic radiation that

More information

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

CS 565 Computer Vision. Nazar Khan PUCIT Lecture 4: Colour CS 565 Computer Vision Nazar Khan PUCIT Lecture 4: Colour Topics to be covered Motivation for Studying Colour Physical Background Biological Background Technical Colour Spaces Motivation Colour science

More information

Color. Bilkent University. CS554 Computer Vision Pinar Duygulu

Color. Bilkent University. CS554 Computer Vision Pinar Duygulu 1 Color CS 554 Computer Vision Pinar Duygulu Bilkent University 2 What is light? Electromagnetic radiation (EMR) moving along rays in space R(λ) is EMR, measured in units of power (watts) λ is wavelength

More information

Lecture Color Image Processing. by Shahid Farid

Lecture Color Image Processing. by Shahid Farid Lecture Color Image Processing by Shahid Farid What is color? Why colors? How we see objects? Photometry, Radiometry and Colorimetry Color measurement Chromaticity diagram Shahid Farid, PUCIT 2 Color or

More information

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

Reading. Foley, Computer graphics, Chapter 13. Optional. Color. Brian Wandell. Foundations of Vision. Sinauer Associates, Sunderland, MA 1995. Reading Foley, Computer graphics, Chapter 13. Color Optional Brian Wandell. Foundations of Vision. Sinauer Associates, Sunderland, MA 1995. Gerald S. Wasserman. Color Vision: An Historical ntroduction.

More information

Color. Phillip Otto Runge ( )

Color. Phillip Otto Runge ( ) Color Phillip Otto Runge (1777-1810) What is color? Color is a psychological property of our visual experiences when we look at objects and lights, not a physical property of those objects or lights (S.

More information

Color Science. CS 4620 Lecture 15

Color Science. CS 4620 Lecture 15 Color Science CS 4620 Lecture 15 2013 Steve Marschner 1 [source unknown] 2013 Steve Marschner 2 What light is Light is electromagnetic radiation exists as oscillations of different frequency (or, wavelength)

More information

Interactive Computer Graphics

Interactive Computer Graphics Interactive Computer Graphics Lecture 4: Colour Graphics Lecture 4: Slide 1 Ways of looking at colour 1. Physics 2. Human visual receptors 3. Subjective assessment Graphics Lecture 4: Slide 2 The physics

More information

Color Image Processing. Jen-Chang Liu, Spring 2006

Color Image Processing. Jen-Chang Liu, Spring 2006 Color Image Processing Jen-Chang Liu, Spring 2006 For a long time I limited myself to one color as a form of discipline. Pablo Picasso It is only after years of preparation that the young artist should

More information

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

Bettina Selig. Centre for Image Analysis. Swedish University of Agricultural Sciences Uppsala University 2011-10-26 Bettina Selig Centre for Image Analysis Swedish University of Agricultural Sciences Uppsala University 2 Electromagnetic Radiation Illumination - Reflection - Detection The Human Eye Digital

More information

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

YIQ color model. Used in United States commercial TV broadcasting (NTSC system). CMY color model Each color is represented by the three secondary colors --- cyan (C), magenta (M), and yellow (Y ). It is mainly used in devices such as color printers that deposit color pigments. It is

More information

Lecture 3: Grey and Color Image Processing

Lecture 3: Grey and Color Image Processing I22: Digital Image processing Lecture 3: Grey and Color Image Processing Prof. YingLi Tian Sept. 13, 217 Department of Electrical Engineering The City College of New York The City University of New York

More information

Chapter 6: Color Image Processing. Office room : 841

Chapter 6: Color Image Processing.   Office room : 841 Chapter 6: Color Image Processing Lecturer: Jianbing Shen Email : shenjianbing@bit.edu.cn Office room : 841 http://cs.bit.edu.cn/shenjianbing cn/shenjianbing It is only after years of preparation that

More information

Digital Image Processing Chapter 6: Color Image Processing ( )

Digital Image Processing Chapter 6: Color Image Processing ( ) Digital Image Processing Chapter 6: Color Image Processing (6.1 6.3) 6. Preview The process followed by the human brain in perceiving and interpreting color is a physiopsychological henomenon that is not

More information

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

Hello, welcome to the video lecture series on Digital image processing. (Refer Slide Time: 00:30) Digital Image Processing Prof. P. K. Biswas Department of Electronics and Electrical Communications Engineering Indian Institute of Technology, Kharagpur Module 11 Lecture Number 52 Conversion of one Color

More information

The Principles of Chromatics

The Principles of Chromatics The Principles of Chromatics 03/20/07 2 Light Electromagnetic radiation, that produces a sight perception when being hit directly in the eye The wavelength of visible light is 400-700 nm 1 03/20/07 3 Visible

More information

Histograms and Color Balancing

Histograms and Color Balancing Histograms and Color Balancing 09/14/17 Empire of Light, Magritte Computational Photography Derek Hoiem, University of Illinois Administrative stuff Project 1: due Monday Part I: Hybrid Image Part II:

More information

Figure 1: Energy Distributions for light

Figure 1: Energy Distributions for light Lecture 4: Colour The physical description of colour Colour vision is a very complicated biological and psychological phenomenon. It can be described in many different ways, including by physics, by subjective

More information

CS 1699: Intro to Computer Vision. Color. Prof. Adriana Kovashka University of Pittsburgh September 22, 2015

CS 1699: Intro to Computer Vision. Color. Prof. Adriana Kovashka University of Pittsburgh September 22, 2015 CS 1699: Intro to Computer Vision Color Prof. Adriana Kovashka University of Pittsburgh September 22, 2015 Today Review: SIFT features Physics and perception of color Color matching Color spaces Uses of

More information

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

Visual Perception. Overview. The Eye. Information Processing by Human Observer Visual Perception Spring 06 Instructor: K. J. Ray Liu ECE Department, Univ. of Maryland, College Park Overview Last Class Introduction to DIP/DVP applications and examples Image as a function Concepts

More information

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

Test 1: Example #2. Paul Avery PHY 3400 Feb. 15, Note: * indicates the correct answer. Test 1: Example #2 Paul Avery PHY 3400 Feb. 15, 1999 Note: * indicates the correct answer. 1. A red shirt illuminated with yellow light will appear (a) orange (b) green (c) blue (d) yellow * (e) red 2.

More information

VC 16/17 TP4 Colour and Noise

VC 16/17 TP4 Colour and Noise VC 16/17 TP4 Colour and Noise Mestrado em Ciência de Computadores Mestrado Integrado em Engenharia de Redes e Sistemas Informáticos Hélder Filipe Pinto de Oliveira Outline Colour spaces Colour processing

More information

Wireless Communication

Wireless Communication Wireless Communication Systems @CS.NCTU Lecture 4: Color Instructor: Kate Ching-Ju Lin ( 林靖茹 ) Chap. 4 of Fundamentals of Multimedia Some reference from http://media.ee.ntu.edu.tw/courses/dvt/15f/ 1 Outline

More information

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

12 Color Models and Color Applications. Chapter 12. Color Models and Color Applications. Department of Computer Science and Engineering 12-1 Chapter 12 Color Models and Color Applications 12-1 12.1 Overview Color plays a significant role in achieving realistic computer graphic renderings. This chapter describes the quantitative aspects of color,

More information

University of British Columbia CPSC 414 Computer Graphics

University of British Columbia CPSC 414 Computer Graphics University of British Columbia CPSC 414 Computer Graphics Color 2 Week 10, Fri 7 Nov 2003 Tamara Munzner 1 Readings Chapter 1.4: color plus supplemental reading: A Survey of Color for Computer Graphics,

More information

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

Color and Perception. CS535 Fall Daniel G. Aliaga Department of Computer Science Purdue University Color and Perception CS535 Fall 2014 Daniel G. Aliaga Department of Computer Science Purdue University Elements of Color Perception 2 Elements of Color Physics: Illumination Electromagnetic spectra; approx.

More information

Mahdi Amiri. March Sharif University of Technology

Mahdi Amiri. March Sharif University of Technology Course Presentation Multimedia Systems Color Space Mahdi Amiri March 2014 Sharif University of Technology The wavelength λ of a sinusoidal waveform traveling at constant speed ν is given by Physics of

More information

Reading instructions: Chapter 6

Reading instructions: Chapter 6 Lecture 8 in Computerized Image Analysis Digital Color Processing Hamid Sarve hamid@cb.uu.se Reading instructions: Chapter 6 Electromagnetic Radiation Visible light (for humans) is electromagnetic radiation

More information

IMAGE PROCESSING >COLOR SPACES UTRECHT UNIVERSITY RONALD POPPE

IMAGE PROCESSING >COLOR SPACES UTRECHT UNIVERSITY RONALD POPPE IMAGE PROCESSING >COLOR SPACES UTRECHT UNIVERSITY RONALD POPPE OUTLINE Human visual system Color images Color quantization Colorimetric color spaces HUMAN VISUAL SYSTEM HUMAN VISUAL SYSTEM HUMAN VISUAL

More information

Computers and Imaging

Computers and Imaging Computers and Imaging Telecommunications 1 P. Mathys Two Different Methods Vector or object-oriented graphics. Images are generated by mathematical descriptions of line (vector) segments. Bitmap or raster

More information

Introduction to Computer Vision and image processing

Introduction to Computer Vision and image processing Introduction to Computer Vision and image processing 1.1 Overview: Computer Imaging 1.2 Computer Vision 1.3 Image Processing 1.4 Computer Imaging System 1.6 Human Visual Perception 1.7 Image Representation

More information

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

Introduction to computer vision. Image Color Conversion. CIE Chromaticity Diagram and Color Gamut. Color Models Introduction to computer vision In general, computer vision covers very wide area of issues concerning understanding of images by computers. It may be considered as a part of artificial intelligence and

More information

Color images C1 C2 C3

Color images C1 C2 C3 Color imaging Color images C1 C2 C3 Each colored pixel corresponds to a vector of three values {C1,C2,C3} The characteristics of the components depend on the chosen colorspace (RGB, YUV, CIELab,..) Digital

More information

Waitlist. We ll let you know as soon as we can. Biggest issue is TAs

Waitlist. We ll let you know as soon as we can. Biggest issue is TAs Bela Borsodi Bela Borsodi Waitlist We ll let you know as soon as we can. Biggest issue is TAs CS 143 James Hays Many materials, courseworks, based from him + previous TA staff serious thanks! Textbook

More information

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

Raster Graphics. Overview קורס גרפיקה ממוחשבת 2008 סמסטר ב' What is an image? What is an image? Image Acquisition. Image display 5/19/2008. Overview Images What is an image? How are images displayed? Color models How do we perceive colors? How can we describe and represent colors? קורס גרפיקה ממוחשבת 2008 סמסטר ב' Raster Graphics 1 חלק מהשקפים

More information

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

קורס גרפיקה ממוחשבת 2008 סמסטר ב' Raster Graphics 1 חלק מהשקפים מעובדים משקפים של פרדו דוראנד, טומס פנקהאוסר ודניאל כהן-אור קורס גרפיקה ממוחשבת 2008 סמסטר ב' Raster Graphics 1 חלק מהשקפים מעובדים משקפים של פרדו דוראנד, טומס פנקהאוסר ודניאל כהן-אור Images What is an image? How are images displayed? Color models Overview How

More information

Capturing light and color

Capturing light and color Capturing light and color Friday, 10/02/2017 Antonis Argyros e-mail: argyros@csd.uoc.gr Szeliski 2.2, 2.3, 3.1 1 Recap from last lecture Pinhole camera model Perspective projection Focal length and depth/field

More information

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

CS6640 Computational Photography. 6. Color science for digital photography Steve Marschner CS6640 Computational Photography 6. Color science for digital photography 2012 Steve Marschner 1 What visible light is One octave of the electromagnetic spectrum (380-760nm) NASA/Wikimedia Commons 2 What

More information

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

MATH 5300 Lecture 3- Summary Date: May 12, 2008 By: Violeta Constantin MATH 5300 Lecture 3- Summary Date: May 12, 2008 By: Violeta Constantin Facebook, Blogs and Wiki tools for sharing ideas or presenting work Using Facebook as a tool to ask questions - discussion on GIMP

More information

Introduction & Colour

Introduction & Colour Introduction & Colour Eric C. McCreath School of Computer Science The Australian National University ACT 0200 Australia ericm@cs.anu.edu.au Overview 2 Computer Graphics Uses (Chapter 1) Basic Hardware

More information