Color Image Processing. Gonzales & Woods: Chapter 6

Similar documents
Unit 8: Color Image Processing

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

Digital Image Processing (DIP)

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

Digital Image Processing Chapter 6: Color Image Processing ( )

6 Color Image Processing

Chapter 3 Part 2 Color image processing

Color Image Processing. Jen-Chang Liu, Spring 2006

Digital Image Processing

Color Image Processing EEE 6209 Digital Image Processing. Outline

Color Image Processing

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

Digital Image Processing. Lecture # 8 Color Processing

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

Lecture 3: Grey and Color Image Processing

EECS490: Digital Image Processing. Lecture #12

Digital Image Processing Color Models &Processing

Color images C1 C2 C3

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

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

Chapter 6: Color Image Processing. Office room : 841

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

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

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

Color Image Processing

CHAPTER 6 COLOR IMAGE PROCESSING

The Principles of Chromatics

Color image processing

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

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

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

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

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

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

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

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

Color Image Processing

Lecture 8. Color Image Processing

Images and Colour COSC342. Lecture 2 2 March 2015

COLOR and the human response to light

Color Image Processing

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

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

Mahdi Amiri. March Sharif University of Technology

COLOR. and the human response to light

Colors in Images & Video

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

Digital Image Processing COSC 6380/4393

Color Science. CS 4620 Lecture 15

What is Color. Color is a fundamental attribute of human visual perception.

Figure 1: Energy Distributions for light

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

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

LECTURE 07 COLORS IN IMAGES & VIDEO

MODULE 4 LECTURE NOTES 1 CONCEPTS OF COLOR

Introduction to Color Science (Cont)

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

PERCEIVING COLOR. Functions of Color Vision

Multimedia Systems and Technologies

Color vision and representation

Chapter 2 Fundamentals of Digital Imaging

Digital Image Processing

Chapter 9: Color. What is Color? Wavelength is a property of an electromagnetic wave in the frequency range we call light

Digital Image Processing Chapter 6: Color Image Processing

Lecture Color Image Processing. by Shahid Farid

Digital Image Processing

excite the cones in the same way.

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

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

INSTITUTIONEN FÖR SYSTEMTEKNIK LULEÅ TEKNISKA UNIVERSITET

What is Color? Chapter 9: Color. Color Mixtures. Color Mixtures 10/29/2012. What is color? Color vocabulary

Comparing Sound and Light. Light and Color. More complicated light. Seeing colors. Rods and cones

Introduction. The Spectral Basis for Color

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

University of British Columbia CPSC 314 Computer Graphics Jan-Apr Tamara Munzner. Color.

Color images C1 C2 C3

Additive Color Synthesis

Lecture 2 Digital Image Fundamentals. Lin ZHANG, PhD School of Software Engineering Tongji University Fall 2016

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

Colour (1) Graphics 2

Technology and digital images

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

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

Introduction to Color Theory

Introduction to Computer Vision and image processing

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

Color. Some slides are adopted from William T. Freeman

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

Color Reproduction. Chapter 6

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

USE OF COLOR IN REMOTE SENSING

Computer Graphics Si Lu Fall /27/2016

Color Computer Vision Spring 2018, Lecture 15

Reading for Color. Vision/Color. RGB Color. Vision/Color. University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2013.

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

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

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

Lecture 7Colour. Kristína Lidayová Wednesday 23 October

Introduction to Computer Vision CSE 152 Lecture 18

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

Transcription:

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? How are color images represented in computer? What is pseudocolor image processing and how does it differ from full-color image processing? How can monochrome image processing techniques be extended to color images?

PSYCHOPHYSICS OF COLOR Color perception is a psychophysical phenomenon that combines two main components: 1. The physical properties of light sources and surfaces (e.g., their absorption and reflectance capabilities). 2. The physiological and psychological aspects of the human visual system (HVS).

Color spectrum Color wavelength Fig 6.1. In 1666, Newton discovered that sunlight (white light) passing through a glass prism split up into a color spectrum of wave lengths in the interval 400-700nm. Fig. 6.2, When viewed in full color, no color in the spectrum ends abruptly.

The Eye Diagram from http://webvision.med.utah.edu/

The Retina Diagram from http://webvision.med.utah.edu/

The Retina Light Diagram from http://webvision.med.utah.edu/

Absorption of light by the cones in the human eye The human eye contains 3 types of sensors named cones, sensible to blue, green and red light, respectively. Fig. 6.3 The human eye regards a color as a combination of 3 primary colors blue (B), green (G) and red (R). There are combinations of discrete wavelengths. Approximately 65% of all cones are sensitive to red light, 33% are sensitive to green light, and only about 2% are sensitive to blue (but the blue cones are the most sensitive). Figure 6.3 shows average experimental curves detailing the absorption of light by the red, green, and blue cones in the eye.

A chromatic light source can be described by three basic quantities 1. Intensity (or Radiance): the total energy flows from the light source, measured in watts (W). 2. Luminance: a measure of the amount of information an observer perceives from a light source, measured in lumen (lm). It corresponds to the radiant power of a light source weighted by a spectral sensitivity function (characteristic of the HVS). 3. Brightness: the subjective perception of (achromatic) luminous intensity.

The three types of cone cells Spectral absorption curves of the short (S), medium (M), and long (L) wavelength pigments in human cone and rod (R) cells. Courtesy of Wikimedia Commons.

Primary and secondary colors of light. Additive color mixing. Here, secondary colors are mixtures of two primary colors. Yellow = red + green cyan = green + blue magenta = red + blue Fig. 6.4 CRT LCD plasma

Primary and secondary colors of pigments. Subtractive color mixing. A primary color of pigment absorbs 1 primary color of light and reflects the others. red = yellow + magenta green = cyan + yellow blue = magenta + cyan Fig. 6.4 Color printing is a mixture of additive and subtractive color mixing Painting colors Clay

Color Images Are constructed from three intensity maps. Each intensity map is projected through a color filter (e.g., red, green, or blue, or cyan, magenta, or yellow) to create a single color image. The intensity maps are overlaid to create a color image. Each pixel in a color image is a three element vector.

Color Images on a CRT or LCD Display Intensity images are projected through dot-array color filters which are slightly offset from one another.

Color of objects An object that reflects light in all wave lengths appears white. An object that reflects blue light and absorbs green yellow red light appears blue. An object that reflects red light and absorbs blue green yellow light appears red.

Characteristics of a light source 1) Radiance Total amount of energy that flows from the light source. Measured in watts (W). 2) Luminance A measure of the amount of energy the observer perceives from a light source. Measured in lumens (lm). Ex 1) Normally high Radiance corresponds to high Luminance. Ex 2) High Radiance of infrared light correspond to low Luminance 3) Brightness Embodies the achromatic notion of intensity Impossible to measure Ex) Which color is most intense - blue or red?

In the Brain: from RGB to LHS luminance hue saturation The eye has 3 types of photoreceptors: sensitive to red, green, or blue light. The brain transforms RGB into separate brightness and color channels (e.g., LHS). brain photo receptors

Characteristics of a color 1) Brightness Embodies the achromatic notion of intensity Impossible to measure 2) Hue Associated with the dominant wavelength in a mixture of light waves Dominant color as perceived by an observer 3) Saturation Refers to the relative purity or the amount of white light mixed with a hue The pure spectrum colors are fully saturated Chromaticity Hue and saturation taken together A color may be characterized by its brightness and chromaticity Tristimulus The amount of X ( red ), Y ( green ) and Z ( blue ) needed to form a particular color. Do not exist in reality. Compiled from extensive experimental results with humans.

Color matching functions RGB color matching function (CIE 1931). XYZ color matching function (CIE 1931). XYZ and RGB are related by the following linear transformations: RGB to XYZ XYZ to RGB

CIE Chromaticity diagram Trichomatic coefficient: x = y = z = X X+Y+Z Y X+Y+Z Z X+Y+Z (1) (2) (3) x + y + z = 1 (4) Useful for mixing colors because a straight line between two colors gives the additive mixing result color. Fig. 6.5

Typical color gamut of color monitors and color printing devices The colors inside this triangle can be composed by a typical RGB color monitor. The colors inside this area can be composed by a high quality printing device. Fig. 6.6

Color models (color space or color system) Color model is a specification of: a coordinate system and a subspace within that system where each color is represented by a single point.

The RGB color model

Generating the cross-sectional color plane (127,G,B) of the RGB color model Fig. 6.9

Vector-Valued Pixels Each color corresponds to a point in a 3D vector space

Color Space for standard digital images primary image colors red, green, and blue correspond to R,G, and B axes in color space. 8-bits of intensity resolution per color correspond to integers 0 through 255 on axes. no negative values color space is a cube in the first octant of 3-space. color space is discrete 256 3 possible colors = 16,777,216 elements in cube.

Different Axis Sets in Color Space RGB axes CMY axes

The CMY and CMYK color models For pigments. Subtractive color mixing. The RGB color model transforms into the CMY (Cyan, Magenta, Yellow) model according to: CMYK: A forth color (black) is added to get a better black color. Publishers talk about four color printing.

Color Images in Print The four colors are magenta, cyan, yellow, and black

Color Separation / Halftoning The original is separated into an intensity image for each of the four color bands.

Color Separation / Halftoning

The HSI color model The HSI (Hue, Saturation, Intensity) model is good for describing colors. It decouples the intensity information from the color-carrying information. Intensity (gray level) is good for describing monochromatic images. Intensity is used instead of the previously mentioned brightness, which is subjective and impossible to measure. Let the RGB-cube stand on its black (0,0,0) vertex with the white vertex (1,1,1) pointing upwards. A plane through a color point perpendicular to the intensity axis gives the intensity value.

Hue (H) and saturation (S) in the HSI model The shape does not matter because anyone of these shapes can be warped into one of the other by a geometric transformation in S.

The HSI model based on triangular color planes: circular color planes:

Converting colors from RGB to HSI

HSI values

RGB and HSI corresponding Hue Saturation

Brightness Perception 255 0 image intensity profile Linear intensity changes are not seen as such.

Color Point and Gray Line

Saturation Component of Color Vector

Hue, Saturation, and Value

Color Image Representations Bit depth: for the true color images use 24 bits per pixel; thus, there are 2 24 = (2 8 ) 3 = 16,777,216 colors M x N 2 8 for Blue 2 8 for Green 2 8 for Red True color Image: M x N x 3 How many colors are there for the True Color images?

Indexed Images M x N

PSEUDOCOLOR IMAGE The purpose of pseudocolor image processing techniques is to enhance a monochrome image for human viewing purposes. Since the human eye is capable of discerning thousands of color hues and intensities, compared to only less than 100 shades of gray, replacing gray levels with colors leads to better visualization and enhanced capability for detecting relevant details within the image.

Intensity Slicing

Pseudocoloring with intensity slicing

Intensity Slicing