IMAGE PROCESSING >COLOR SPACES UTRECHT UNIVERSITY RONALD POPPE

Size: px
Start display at page:

Download "IMAGE PROCESSING >COLOR SPACES UTRECHT UNIVERSITY RONALD POPPE"

Transcription

1 IMAGE PROCESSING >COLOR SPACES UTRECHT UNIVERSITY RONALD POPPE

2 OUTLINE Human visual system Color images Color quantization Colorimetric color spaces

3 HUMAN VISUAL SYSTEM

4 HUMAN VISUAL SYSTEM

5 HUMAN VISUAL SYSTEM 2 Why cover it here? Difference between perceived and displayed image Luminance is actual physical brightness Brightness is how we perceive it (e.g., in the dark, we distinguish between dark and light ) We often try to emulate the human visual system Our eyes/brain can do tricks that we like to mimic

6 HUMAN VISUAL SYSTEM 3 To the brain

7 HUMAN VISUAL SYSTEM 4 Intermezzo: blind spot Close your left eye and fixate your right eye on the cross Now move closer to the screen At one point, the circle should disappear

8 HUMAN VISUAL SYSTEM 5 The eye and part of the brain are tasked with visual processing The eye converts light rays to electric pulses that are processed in the brain Light can be considered a wave and has: An amplitude: the intensity A frequency: the color

9 HUMAN VISUAL SYSTEM 6 Light rays with a sufficient strength and within the right range of wavelengths generate an electric pulse in the brain Cornea protects the eye and refracts the beams Pupil and cornea regulate the total amount of light Lens further refracts the light, to focus on certain distances The retina converts light into electric pulses using rods and cones

10 HUMAN VISUAL SYSTEM 7 Rods Cones 100 million 6-7 million Evenly spread More responsive grey Night vision (scotopic) Especially around fovea Three types color Day vision (photopic)

11 HUMAN VISUAL SYSTEM 8 Luminous efficiency: How do things appear colored?

12 HUMAN VISUAL SYSTEM 9 Color blindness explained:

13 QUESTIONS?

14 COLOR IMAGES

15 COLOR IMAGES We talked about grey level intensity values Single number per pixel: intensity Colors can be described in two different ways: True color: pixel represented as multiple dimensions/channels Indexed: pixel value refers to a row in a color array

16 COLOR IMAGES 2 Indexed color uses a palette or look-up array P of N colors: With array size of N, N is the number of possible colors Each pixel value k (0 k < N) is an index to this array With color channels red, green, blue: P(k) = (r k, g k, b k )

17 COLOR IMAGES 3 Two ways of implementing/ordering true color images: 1. Component (planar) ordering Each color channel has its own array/layer 2. Packed ordering Each pixel comprises of a part per channel Example for 24-bits colors: Component: 3 arrays of 8-bit colors Packed: 1 array of 24-bit colors

18 COLOR IMAGES 4 A color space describes how color dimensions make up a color Additive color spaces start with black and adding primary colors Color is mixed as beams of light Subtractive color spaces start with white and each color reduces the intensity of the reflected light Typical in print

19 RGB Most common additive color space is red, green blue (RGB) Typical in light emitters (e.g. TV screens) Color described as a combination of values for red, green and blue Each channel is limited in the number of values (2 n ) Number of colors = 2 n*3 For n=8: 24-bits color

20 RGB 2 In RGB color space, assuming a range [0,1]: Black is (0,0,0) (no light) White is (1,1,1) (combination of all wavelengths) Gray colors have equal values for red, green and blue

21 RGB 3 Values are indicative of the intensity/luminance of the pixel Conversion to grayscale: Y = w R *R + w G *G + w B *B w R, w G and w B depend on application w G usually higher because green dominates our perception of light intensity

22 RGB 4 Saturation is the amount of color or the deviation from gray of the same intensity Desaturation is the process of uniform reduction of the saturation in a continuous manner Factor s COL ϵ [0,1] is used to control the amount of color Y is the intensity value For s COL = 0, same as grayscale conversion For values s COL > 1, exaggeration of the color

23 RGB 5 Advantages of RGB color space: Easy to understand Fits well with the way TV screens work (three types of LEDs) Disadvantages: Strong correlations between color channels Brightness (dark-light) affects all channels Does not correlate well with human vision

24 HSV AND HLS The Hue, Saturation, Value (HSV) space solves some drawbacks of RGB Independent channel for intensity (value, V) Independent channel for saturation (S) Independent channel for color tone (hue, H) Often visualized as a cone/pyramid Implemented as cylinder Hue and saturation are irrelevant for black

25 HSV AND HLS 2 Hue typically seen as angle Interpolation from red-green-blue-red HLS (Hue, Luminance, Saturation) is very similar to HSV Motivated by observation that white is brighter than e.g. red Double pyramid (HLS) instead of single (HSV) Implementation is again a cylinder

26 HSV AND HLS 2 Conversion from RGB to HSV Calculate saturation Calculate luminance (value) Calculate hue: When R=G=B, the color is gray and hue is undefined First find dominant channel (red, green or blue) Determine offset from other channels Convert to angle/unit range

27 HSV AND HLS 3 Example conversion RGB to HSV: RGB = (250, 150, 50) orange Calculate high, low and range: C high = max(r, G, B) = 250 C low = min(r, G, B) = 50 C rng = C high C low = = 200 Calculate saturation: S HSV = 200/250 = 0.8 Calculate value: V HSV = 250/255 = 0.98

28 HSV AND HLS 4 Continued conversion RGB to HSV: RGB = (250, 150, 50) orange Normalize color components: Determine hue based on dominant channel: Normalize hue value: In our example, R =0, G =0.5, B =1, H = = 0.5, H HSV = 0.08 (30 )

29 HSV AND HLS 5 See the book for other conversions Comparison of HSV and HLS: Hue channel is identical Differences in value (HSV)/luminance (HLS) Differences in saturation Differences especially for brighter colors

30 HSV AND HLS 6 Distribution of colors in RGB, HSV and HLS Starting from uniform distribution in RGB Bright colors more densely projected to HSV RGB allows for more differentiation in light colors But less in darker colors! Opposite effect for HSV

31 TV COLOR SPACES YUV and YIQ are color spaces of NTSC and PAL YCbCr is color space used in digital television All have an intensity channel (Y) and two chromatic channels (blue and red) Intensity typically encoded with more bandwidth Instead of encoding color value, they encode color difference More suitable to guarantee compatibility with legacy systems

32 COLOR SPACES FOR PRINTING Print uses subtractive color spaces: Reflection of light rather than mixing of light Example: Blue paint absorbs all colors but blue When shining a red light on blue paint, it appears black

33 COLOR SPACES FOR PRINTING 2 Most common model: Cyan, Magenta, Yellow (CMY) Y does not stand for intensity! C = 1 R, M = 1 G, Y = 1 - B CMYK also has black (K) channel Black difficult to mix from C, M and Y (true black cannot be mixed) Black ink is much cheaper

34 COLOR IMAGE STATISTICS Counting the number of unique colors: Keeping an array with the counts of all possible colors: 2 24 cells! Alternatively: sort pixels based on some criteria (e.g. concatenate RGB bytes) Criteria not really important, but must be unique Non-zero transitions for different colors Count transitions between subsequent pixels (and add 1)

35 COLOR IMAGE STATISTICS 2 We can make a histogram of color values of all pixels: Histogram per channel does not provide full story 3D histogram is too large (2 24 bins) Alternative: use two (or three) 2D histograms E.g., RG, RB and GB

36 QUESTIONS?

37 COLOR QUANTIZATION

38 COLOR QUANTIZATION When we move from true colors to palette colors, we need to reduce the total number of distinct colors Common when converting to GIF or PNG Color quantization: process of replacing the original colors with colors from a smaller set Challenge is to define a palette that faithfully represents the original colors

39 COLOR QUANTIZATION 2 Scalar/uniform quantization ignores color counts Simple and fast Convert value c i per channel i: with n and m the original and new number of colors, respectively Same as integer division and truncation Drop least significant bits/bits

40 COLOR QUANTIZATION 3 Scalar quantization is only optimal for uniformly distributed colors Never happens in practice When we include colors in our palette that do not occur in the image Waste of colors Underrepresentation of colors that do occur Scalar quantization also does not consider dependencies between color channels

41 COLOR QUANTIZATION 4 Vector quantization looks at color values and how often they occur: 1. Find a set of n representative color vectors (the palette) 2. Replace each original color with a color from the palette Aim is to minimize the difference between original and new image Requires distance measure such as Euclidian distance Combinatorial optimization problem so exact solution takes time Typically a local solution is used

42 COLOR QUANTIZATION 5 Populosity algorithm selects n most frequent colors as palette Sometimes preceded by scalar quantization Median cut algorithm first builds a 3D histogram of all colors Select the box with the largest number of pixels Split the box across the longest axis, at the median point Each split replaces one color by two new ones (center of box) Repeat until the desired number (n) of colors is obtained Colors mostly sampled in high-density areas

43 COLOR QUANTIZATION 6 Octree algorithm builds a hierarchy of colors from scratch: Each box split in up to 8 subboxes Maximum number of K color values stored in tree Allows for quick determination of closest color from palette More intuitive intro:

44 COLOR QUANTIZATION 7 Comparison median-cut and octree More uniform for median Lower error for octree Octree has more spikes for incidental colors

45 COLOR QUANTIZATION 8 Typically, a small sample (e.g., 10%) of the pixels suffices to build the palette Other techniques to determine the palette include clustering K-means is an algorithm that quickly converges to a local solution

46 COLORIMETRIC COLOR SPACES

47 COLORIMETRIC COLOR SPACES Device or medium typically determines to a large extent how colors appear Need for a representation that is independent of device and medium Colorimetric or calibrated color spaces do exactly this Motivated by physical properties of light or human visual system

48 COLORIMETRIC COLOR SPACES 2 CIE XYZ describes color as linear combination of (imaginary) primary colors Visual colors lie on a cone-shaped region in this space Y component encodes lightness/luminosity Black is the origin of the space (0,0,0) RGB colors are embedded in CIE XYZ space Linear transformation between RGB and CIE XYZ

49 COLORIMETRIC COLOR SPACES 3 Hue and saturation described using chromaticity channels x, y, z Channels sum up to 1, so one channel can be omitted x,y plane describes hue and saturation Visible colors only within the area Boundary corresponds to pure colors (except for connection) Saturation decreases towards point E x, y plane does not denote luminosity

50 COLORIMETRIC COLOR SPACES 4 Standard illuminants are common light settings that define how colors should appear in a particular setting D50: direct sunlight, a color temperature of 5000 K D65: indirect sunlight (cloudy day), color temperature of 6500 K Each illuminant defines specific values of X, Y and Z for the reference white

51 COLORIMETRIC COLOR SPACES 5 Gamut is the region of possible colors in a color space 3D space in CIE XYZ or a 2D region in the chromaticity plane Important to realize that a color space is limited Limitation of CIE XYZ is that is it not perceptually motivated Similar differences in (x,y) values are perceived differently CIE YUV, CIE YC b C r and CIE L*a*b* address this

52 COLORIMETRIC COLOR SPACES 6 Distances in CIE L*a*b* correspond with those perceived by humans Leads to more intuitive color space L* is luminosity channel a* and b* are the color components red-green and blue-yellow Colors are relative to a reference white point Color differences are measured as Euclidian distance

53 COLORIMETRIC COLOR SPACES 7 CIE L*a*b* corresponds to human perception Not optimally efficient in digital processing srgb designed to be more efficient Used in JPEG and PNG As in CIE XYZ, srgb uses primary colors, reference white, ambient lighting conditions and gamma values Allows for translation between CIE XYZ and srgb Transformation consists of nonlinear (gamma) part and linear part Adobe RGB is similar to srgb but covers a larger gamut

54 COLORIMETRIC COLOR SPACES 8 Humans can perceive the same color under different lighting conditions as the same Conversely: lighting conditions affect how we perceive colors Describing colors relative to a reference white can compensate for this Chromatic adaptation is the process of translating between reference whites XYZ scaling adapts the colors per color channel Bradford adaptation first translates to an RGB space, then performs the adaptation and then transforms back to CIE XYZ space

55 COLORIMETRIC COLOR SPACES 9 Choosing ideal color space depends on: Input and output device Importance of relation to visual perception Importance of efficient calculation There is no best color space! But HSV is pretty handy for most image processing tasks

56 QUESTIONS?

57 NEXT LECTURE

58 NEXT LECTURE Next lecture is about: Filters for Color Images (Book II, Chapter 3) Edge Detection for Color Images (Book II, Chapter 4) Wednesday October 31, 15:15-17:00 (RUPPERT-PAARS) Walk-in session: Friday November 2, 9:00-10:45 Deadline Sunday November 11, 23:00

59 EXAM Q&A Exam Q&A on Friday November 2, 11:00-12:45 Send me questions/topics so I can cover them No later than Wednesday October 31

60 CONTENTS OF THIS LECTURE

61 CONTENTS OF THIS LECTURE Fundamental Techniques (book I) Chapter 8: Color Images (not 8.1.2, no Java implementations) Core Algorithms (book II) Chapter 5: Color Quantization Chapter 6: Colorimetric Color Spaces (not 6.6) Human Visual System These slides

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

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

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

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

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 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

Computer Graphics. Si Lu. Fall er_graphics.htm 10/02/2015

Computer Graphics. Si Lu. Fall er_graphics.htm 10/02/2015 Computer Graphics Si Lu Fall 2017 http://www.cs.pdx.edu/~lusi/cs447/cs447_547_comput er_graphics.htm 10/02/2015 1 Announcements Free Textbook: Linear Algebra By Jim Hefferon http://joshua.smcvt.edu/linalg.html/

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

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

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

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

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

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

Introduction to Multimedia Computing

Introduction to Multimedia Computing COMP 319 Lecture 02 Introduction to Multimedia Computing Fiona Yan Liu Department of Computing The Hong Kong Polytechnic University Learning Outputs of Lecture 01 Introduction to multimedia technology

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

Images and Colour COSC342. Lecture 2 2 March 2015

Images and Colour COSC342. Lecture 2 2 March 2015 Images and Colour COSC342 Lecture 2 2 March 2015 In this Lecture Images and image formats Digital images in the computer Image compression and formats Colour representation Colour perception Colour spaces

More information

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

Colour. Why/How do we perceive colours? Electromagnetic Spectrum (1: visible is very small part 2: not all colours are present in the rainbow! Colour What is colour? Human-centric view of colour Computer-centric view of colour Colour models Monitor production of colour Accurate colour reproduction Colour Lecture (2 lectures)! Richardson, Chapter

More information

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

Colour. Cunliffe & Elliott, Chapter 8 Chapman & Chapman, Digital Multimedia, Chapter 5. Autumn 2016 University of Stirling CSCU9N5: Multimedia and HCI 1 Colour What is colour? Human-centric view of colour Computer-centric view of colour Colour models Monitor production of colour Accurate colour reproduction Cunliffe & Elliott,

More information

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

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 COLOR Elements of color Angel 1.4, 2.4, 7.12 J. Lindblad 2001-11-01 Color = The eye s and the brain s impression of electromagnetic radiation in the visual spectra. How is color perceived? Visible spectrum

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

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

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

Colour. Electromagnetic Spectrum (1: visible is very small part 2: not all colours are present in the rainbow!) Colour Lecture! Colour Lecture! ITNP80: Multimedia 1 Colour What is colour? Human-centric view of colour Computer-centric view of colour Colour models Monitor production of colour Accurate colour reproduction Richardson,

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

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

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

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

Prof. Feng Liu. Fall /02/2018

Prof. Feng Liu. Fall /02/2018 Prof. Feng Liu Fall 2018 http://www.cs.pdx.edu/~fliu/courses/cs447/ 10/02/2018 1 Announcements Free Textbook: Linear Algebra By Jim Hefferon http://joshua.smcvt.edu/linalg.html/ Homework 1 due in class

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

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

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

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

COLOR. Elements of color. Visible spectrum. The Human Visual System. The Fovea. There are three types of cones, S, M and L. r( λ) COLOR Elements of color Angel, 4th ed. 1, 2.5, 7.13 excerpt from Joakim Lindblad Color = The eye s and the brain s impression of electromagnetic radiation in the visual spectra How is color perceived?

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 # 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

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

Dr. Shahanawaj Ahamad. Dr. S.Ahamad, SWE-423, Unit-06

Dr. Shahanawaj Ahamad. Dr. S.Ahamad, SWE-423, Unit-06 Dr. Shahanawaj Ahamad 1 Outline: Basic concepts underlying Images Popular Image File formats Human perception of color Various Color Models in use and the idea behind them 2 Pixels -- picture elements

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

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. Used heavily in human vision. Color is a pixel property, making some recognition problems easy

Color. Used heavily in human vision. Color is a pixel property, making some recognition problems easy Color Used heavily in human vision Color is a pixel property, making some recognition problems easy Visible spectrum for humans is 400 nm (blue) to 700 nm (red) Machines can see much more; ex. X-rays,

More information

Human Vision, Color and Basic Image Processing

Human Vision, Color and Basic Image Processing Human Vision, Color and Basic Image Processing Connelly Barnes CS4810 University of Virginia Acknowledgement: slides by Jason Lawrence, Misha Kazhdan, Allison Klein, Tom Funkhouser, Adam Finkelstein and

More information

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

Color. Used heavily in human vision. Color is a pixel property, making some recognition problems easy Color Used heavily in human vision Color is a pixel property, making some recognition problems easy Visible spectrum for humans is 400 nm (blue) to 700 nm (red) Machines can see much more; ex. X-rays,

More information

Digital Image Processing

Digital Image Processing Digital Image Processing IMAGE PERCEPTION & ILLUSION Hamid R. Rabiee Fall 2015 Outline 2 What is color? Image perception Color matching Color gamut Color balancing Illusions What is Color? 3 Visual perceptual

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

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

CIE tri-stimulus experiment. Color Value Functions. CIE 1931 Standard. Color. Diagram. Color light intensity for visual color match CIE tri-stimulus experiment diffuse reflecting screen diffuse reflecting screen 770 769 768 test light 382 381 380 observer test light 445 535 630 445 535 630 observer light intensity for visual color

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

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

Color: Readings: Ch 6: color spaces color histograms color segmentation

Color: Readings: Ch 6: color spaces color histograms color segmentation Color: Readings: Ch 6: 6.1-6.5 color spaces color histograms color segmentation 1 Some Properties of Color Color is used heavily in human vision. Color is a pixel property, that can make some recognition

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

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

Imaging Process (review)

Imaging Process (review) Color Used heavily in human vision Color is a pixel property, making some recognition problems easy Visible spectrum for humans is 400nm (blue) to 700 nm (red) Machines can see much more; ex. X-rays, infrared,

More information

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

IFT3355: Infographie Couleur. Victor Ostromoukhov, Pierre Poulin Dép. I.R.O. Université de Montréal IFT3355: Infographie Couleur Victor Ostromoukhov, Pierre Poulin Dép. I.R.O. Université de Montréal Color Appearance Visual Range Electromagnetic waves (in nanometres) γ rays X rays ultraviolet violet

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

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

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 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

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

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

Color & Compression. Robin Strand Centre for Image analysis Swedish University of Agricultural Sciences Uppsala University

Color & Compression. Robin Strand Centre for Image analysis Swedish University of Agricultural Sciences Uppsala University Color & Compression Robin Strand Centre for Image analysis Swedish University of Agricultural Sciences Uppsala University Outline Color Color spaces Multispectral images Pseudocoloring Color image processing

More information

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

Color. Chapter 6. (colour) Digital Multimedia, 2nd edition Color (colour) Chapter 6 Digital Multimedia, 2nd edition What is color? Color is how our eyes perceive different forms of energy. Energy moves in the form of waves. What is a wave? Think of a fat guy (Dr.

More information

Image Perception & 2D Images

Image Perception & 2D Images Image Perception & 2D Images Vision is a matter of perception. Perception is a matter of vision. ES Overview Introduction to ES 2D Graphics in Entertainment Systems Sound, Speech & Music 3D Graphics in

More information

Introduction to Color Theory

Introduction to Color Theory Systems & Biomedical Engineering Department SBE 306B: Computer Systems III (Computer Graphics) Dr. Ayman Eldeib Spring 2018 Introduction to With colors you can set a mood, attract attention, or make a

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

Color and perception Christian Miller CS Fall 2011

Color and perception Christian Miller CS Fall 2011 Color and perception Christian Miller CS 354 - Fall 2011 A slight detour We ve spent the whole class talking about how to put images on the screen What happens when we look at those images? Are there any

More information

Computer Graphics. Rendering. Rendering 3D. Images & Color. Scena 3D rendering image. Human Visual System: the retina. Human Visual System

Computer Graphics. Rendering. Rendering 3D. Images & Color. Scena 3D rendering image. Human Visual System: the retina. Human Visual System Rendering Rendering 3D Scena 3D rendering image Computer Graphics Università dell Insubria Corso di Laurea in Informatica Anno Accademico 2014/15 Marco Tarini Images & Color M a r c o T a r i n i C o m

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

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

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

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

Multimedia Systems and Technologies

Multimedia Systems and Technologies Multimedia Systems and Technologies Faculty of Engineering Master s s degree in Computer Engineering Marco Porta Computer Vision & Multimedia Lab Dipartimento di Ingegneria Industriale e dell Informazione

More information

In order to manage and correct color photos, you need to understand a few

In order to manage and correct color photos, you need to understand a few In This Chapter 1 Understanding Color Getting the essentials of managing color Speaking the language of color Mixing three hues into millions of colors Choosing the right color mode for your image Switching

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 Image Processing

Color Image Processing Color Image Processing Dr. Praveen Sankaran Department of ECE NIT Calicut February 11, 2013 Winter 2013 February 11, 2013 1 / 23 Outline 1 Color Models 2 Full Color Image Processing Winter 2013 February

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 Theory: Defining Brown

Color Theory: Defining Brown Color Theory: Defining Brown Defining Colors Colors can be defined in many different ways. Computer users are often familiar with colors defined as percentages or amounts of red, green, and blue (RGB).

More information

Digital Images. Back to top-level. Digital Images. Back to top-level Representing Images. Dr. Hayden Kwok-Hay So ENGG st semester, 2010

Digital Images. Back to top-level. Digital Images. Back to top-level Representing Images. Dr. Hayden Kwok-Hay So ENGG st semester, 2010 0.9.4 Back to top-level High Level Digital Images ENGG05 st This week Semester, 00 Dr. Hayden Kwok-Hay So Department of Electrical and Electronic Engineering Low Level Applications Image & Video Processing

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

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

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

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

05 Color. Multimedia Systems. Color and Science

05 Color. Multimedia Systems. Color and Science Multimedia Systems 05 Color Color and Science Imran Ihsan Assistant Professor, Department of Computer Science Air University, Islamabad, Pakistan www.imranihsan.com Lectures Adapted From: Digital Multimedia

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

EC-433 Digital Image Processing

EC-433 Digital Image Processing EC-433 Digital Image Processing Lecture 2 Digital Image Fundamentals Dr. Arslan Shaukat 1 Fundamental Steps in DIP Image Acquisition An image is captured by a sensor (such as a monochrome or color TV camera)

More information

The human visual system

The human visual system The human visual system Vision and hearing are the two most important means by which humans perceive the outside world. 1 Low-level vision Light is the electromagnetic radiation that stimulates our visual

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

Performance Analysis of Color Components in Histogram-Based Image Retrieval

Performance Analysis of Color Components in Histogram-Based Image Retrieval Te-Wei Chiang Department of Accounting Information Systems Chihlee Institute of Technology ctw@mail.chihlee.edu.tw Performance Analysis of s in Histogram-Based Image Retrieval Tienwei Tsai Department of

More information

Understanding Color Theory Excerpt from Fundamental Photoshop by Adele Droblas Greenberg and Seth Greenberg

Understanding Color Theory Excerpt from Fundamental Photoshop by Adele Droblas Greenberg and Seth Greenberg Understanding Color Theory Excerpt from Fundamental Photoshop by Adele Droblas Greenberg and Seth Greenberg Color evokes a mood; it creates contrast and enhances the beauty in an image. It can make a dull

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

Introduction. The Spectral Basis for Color

Introduction. The Spectral Basis for Color Introduction Color is an extremely important part of most visualizations. Choosing good colors for your visualizations involves understanding their properties and the perceptual characteristics of human

More information

Problems. How do cameras measure light and color? How do humans perceive light and color?

Problems. How do cameras measure light and color? How do humans perceive light and color? Light and Color Problems How do cameras measure light and color? Radiometry How do humans perceive light and color? Photometry How do computers represent light and color? How do monitors display light

More information

Chapter 2 Fundamentals of Digital Imaging

Chapter 2 Fundamentals of Digital Imaging Chapter 2 Fundamentals of Digital Imaging Part 4 Color Representation 1 In this lecture, you will find answers to these questions What is RGB color model and how does it represent colors? What is CMY color

More information

Digital Image Processing

Digital Image Processing Digital Image Processing Digital Imaging Fundamentals Christophoros Nikou cnikou@cs.uoi.gr Images taken from: R. Gonzalez and R. Woods. Digital Image Processing, Prentice Hall, 2008. Digital Image Processing

More information

Color Image Processing

Color Image Processing Color Image Processing with Biomedical Applications Rangaraj M. Rangayyan, Begoña Acha, and Carmen Serrano University of Calgary, Calgary, Alberta, Canada University of Seville, Spain SPIE Press 2011 434

More information

DIGITAL IMAGE PROCESSING (COM-3371) Week 2 - January 14, 2002

DIGITAL IMAGE PROCESSING (COM-3371) Week 2 - January 14, 2002 DIGITAL IMAGE PROCESSING (COM-3371) Week 2 - January 14, 22 Topics: Human eye Visual phenomena Simple image model Image enhancement Point processes Histogram Lookup tables Contrast compression and stretching

More information

Brief Introduction to Vision and Images

Brief Introduction to Vision and Images Brief Introduction to Vision and Images Charles S. Tritt, Ph.D. January 24, 2012 Version 1.1 Structure of the Retina There is only one kind of rod. Rods are very sensitive and used mainly in dim light.

More information

Digital Image Fundamentals. Digital Image Processing. Human Visual System. Contents. Structure Of The Human Eye (cont.) Structure Of The Human Eye

Digital Image Fundamentals. Digital Image Processing. Human Visual System. Contents. Structure Of The Human Eye (cont.) Structure Of The Human Eye Digital Image Processing 2 Digital Image Fundamentals Digital Imaging Fundamentals Christophoros Nikou cnikou@cs.uoi.gr Those who wish to succeed must ask the right preliminary questions Aristotle Images

More information

Digital Image Fundamentals. Digital Image Processing. Human Visual System. Contents. Structure Of The Human Eye (cont.) Structure Of The Human Eye

Digital Image Fundamentals. Digital Image Processing. Human Visual System. Contents. Structure Of The Human Eye (cont.) Structure Of The Human Eye Digital Image Processing 2 Digital Image Fundamentals Digital Imaging Fundamentals Christophoros Nikou cnikou@cs.uoi.gr Images taken from: R. Gonzalez and R. Woods. Digital Image Processing, Prentice Hall,

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

A World of Color. Session 4 Color Spaces. OLLI at Illinois Spring D. H. Tracy

A World of Color. Session 4 Color Spaces. OLLI at Illinois Spring D. H. Tracy A World of Color Session 4 Color Spaces OLLI at Illinois Spring 2018 D. H. Tracy Course Outline 1. Overview, History and Spectra 2. Nature and Sources of Light 3. Eyes and Color Vision 4. Color Spaces

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