Digital Image Processing Chapter 6: Color Image Processing ( )

Similar documents
Digital Image Processing (DIP)

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

Unit 8: Color Image Processing

Color Image Processing. Gonzales & Woods: Chapter 6

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

6 Color Image Processing

Chapter 3 Part 2 Color image processing

Digital Image Processing

CHAPTER 6 COLOR IMAGE PROCESSING

Color Image Processing

Digital Image Processing. Lecture # 8 Color Processing

Color Image Processing. Jen-Chang Liu, Spring 2006

Color Image Processing

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

Color Image Processing EEE 6209 Digital Image Processing. Outline

Chapter 6: Color Image Processing. Office room : 841

Image and video processing

Digital Image Processing Color Models &Processing

Digital Image Processing Chapter 6: Color Image Processing

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

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

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

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

MODULE 4 LECTURE NOTES 1 CONCEPTS OF COLOR

Color Image Processing

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

EECS490: Digital Image Processing. Lecture #12

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

Color images C1 C2 C3

Introduction. The Spectral Basis for Color

Digital Image Processing COSC 6380/4393

Interactive Computer Graphics

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

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

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

Lecture 8. Color Image Processing

In a physical sense, there really is no such thing as color, just light waves of different wavelengths.

Color Image Processing II

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

Lecture 3: Grey and Color Image Processing

Color vision and representation

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

Figure 1: Energy Distributions for light

Additive Color Synthesis

Color image processing

VC 16/17 TP4 Colour and Noise

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

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

Digital Image Processing

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

COLOR and the human response to light

Colors in Images & Video

Color Image Processing

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

COLOR. and the human response to light

Lecture Color Image Processing. by Shahid Farid

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

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

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

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

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

The Principles of Chromatics

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

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

INSTITUTIONEN FÖR SYSTEMTEKNIK LULEÅ TEKNISKA UNIVERSITET

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

LECTURE 07 COLORS IN IMAGES & VIDEO

Wireless Communication

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

Introduction & Colour

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

Chapter 2 Fundamentals of Digital Imaging

Digital Image Processing

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

Digital Image Processing

Images and Colour COSC342. Lecture 2 2 March 2015

Color. Some slides are adopted from William T. Freeman

Color Science. CS 4620 Lecture 15

Mahdi Amiri. March Sharif University of Technology

Introduction to Color Theory

Basics of Colors in Graphics Denbigh Starkey

COLOR AS A DESIGN ELEMENT

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

Light waves. VCE Physics.com. Light waves - 2

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

The basic tenets of DESIGN can be grouped into three categories: The Practice, The Principles, The Elements

Slide 1. Slide 2. Slide 3. Light and Colour. Sir Isaac Newton The Founder of Colour Science

THE SCIENCE OF COLOUR

Digital Image Processing

IMAGE PROCESSING >COLOR SPACES UTRECHT UNIVERSITY RONALD POPPE

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

Introduction to Multimedia Computing

color basics theory & application Fall 2013 Ahmed Ansari Communication Design Fundamentals

Technology and digital images

What is Color Gamut? Public Information Display. How do we see color and why it matters for your PID options?

Lecture 6 6 Color, Waves, and Dispersion Reading Assignment: Read Kipnis Chapter 7 Colors, Section I, II, III 6.1 Overview and History

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

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

color & dye chemisty Explore in a scientific way! Learn how and why we see color, and how dye chemically reacts with fabric!

Transcription:

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 yet fully understood, the physical nature of color can be expressed on a formal basis supported by experiment and theoretical results. 2

6.1 Color Fundamentals The process followed by the human brain in perceiving and interpreting color is a physiopsychological henomenon that is not yet fully understood, the physical nature of color can be expressed on a formal basis supported by experiment and theoretical results. 3

6. Color Image Processing In 1666, Sir Isaac Newton discovered that when a beam of sunlight passes through a glass prism, the emerging beam of light us not white but consist in stead of a continuous spectrum of colors ranging from violet at one end to red at the other. six broad regions : violet, blue, green, yellow, orange, and red 4

6. Color Image Processing Visible light is composed of a relatively narrow band of frequencies in the electromagnetic spectrum 5

6. Color Image Processing average experimental curves detailing the absorption of light by the reg, green, blue cones in the eye 6

Three basic quantities are used to describe the quality of a chromatic light source: radiance, luminance, and brightness. Radiance is the total amount of energy that flow from the light source, and it is usually measured in watts (W). Luminance, measured in lumens (lm), gives a measure of the amount of energy an observer perceives from a light source. Brightness is a subjective descriptor that is practically impossible to measure. It embodies the achromatic notion of intensity and is one of the key factors in describing color sensation. 7

6. Color Image Processing three primary colors and colors of pigments and their combinations to produce the second colors 8

6.1 Color Fundamentals The characteristics generally used to distinguish one color from another are brightness, hue, and saturation. -Hue : attribute associated with the dominant wavelength in a mixture of light waves. -saturation : relative puriry or the amount of white light mixed with a hue. The amounts of red, green, blue needed to form any particular color are called the tristimuus values and are denoted X, Y, Z x = X X + Y + Z y = Y X + Y + Z z = Z X + Y + Z x + y + z = 1 9

6. Color Image Processing another approch for specifying colors is to use the CIE chromaticity diagram, which shows color compositin as a function of x(red) and y(green), z(blue). 10

6. Color Image Processing the triangle shows a typical range of colors produced by RGB monitors. 11

12 6.2.1 The RGB Color Model RGB primary values (Red, Green, Blue) Secondary colors (Cyan, Magenta, Yellow) All of RGB range : [0, 1] Each of RGB have a 8-bit Pixel depth RGB triplet have a 24-bit Pixel depth (1, 1, 1) Total number of colors (2 8 ) 3 = 16,777,216 (0, 0, 0) Gray Scale (It often denote Full Color Image)

13 6.2.1 The RGB Color Model Three individual component images (Gray scale images) Color Moniter One of surface plane of Fig 6.8

14 6.2.1 The RGB Color Model Safe RGB Colors (Safe Web Colors or All Systems Safe Colors) It means subset of colors that Variety of systems reproduced faithfully independently of hardware Each of RGB values can only 0, 51, 102, 153, 204, 255 (Tab 6.1) (RGB triplet have 6 3 = 216)

15 6.2.2 The CMY and CMYK Color Model Cyan, Magenta, and Yellow - Secondary Colors of Light - Primary Values of Pigments (It absorb opposite color) RGB to CMY Transform C 1 R M = 1 - G Y 1 B (All of colors range : [0, 1]) - Ex) Pure Megenta not reflect Green CMYK Color - C + M + K = muddy looking Black (so add a fourth color, Black)

6.2.3 The HSI Color Model HSI(Hue, Saturation, intensity) Hue : 색상 Saturation : 채도 Intensity : 명도 / 밝기 HSI Color Model decouples the intensity component from the color-carrying information(hue and saturation) in a color image. The HSI color model is an ideal tool for developing image processing algorithms based on color descriptions that are natural and intuitive to humans.

6.2.3 The HSI Color Model

6.2.3 The HSI Color Model

6.2.3 The HSI Color Model

6.2.3 The HSI Color Model (6.2-2) G B G B H 360 2 1/ 2 2 1 1 )] )( ( ) [( )] ( ) [( cos B G B R G R B R G R )],, [min( ) ( 3 1 B G R B G R S ) ( 3 1 B G R I Converting colors from RGB to HSI (6.2-3) (6.2-4)

6.2.3 The HSI Color Model Converting colors from HSI to RGB RG Sector (0 H 120 ) B I( 1 S) (6.2-5) R I[1 S cos H cos(60 H ] ) (6.2-6) G 3I ( R B) (6.2-7)

6.2.3 The HSI Color Model Converting colors from HSI to RGB GB Sector (120 H 240 ) H H 120 (6.2-8) R I( 1 S) (6.2-9) G I[1 S cos H cos(60 H ] ) (6.2-10) B 3I ( R G) (6.2-11)

6.2.3 The HSI Color Model Converting colors from HSI to RGB BR Sector (240 H 360 ) H H 240 (6.2-12) G I( 1 S) (6.2-13) B I[1 S cos H cos(60 H ] ) (6.2-14) R 3I ( R G) (6.2-15)

6.2.3 The HSI Color Model Example 6.2 The HSI values corresponding to the image of the RGB color cube

6.2.3 The HSI Color Model Manipulating HSI component images

6.2.3 The HSI Color Model Manipulating HSI component images

6.3 Pseudocolor Image Processing The pseudocolors used to colorize a gray level image do not re present the original, true colors if there were originally a color i mage. The principal use of pseudocolor is for human visualization and interpretation of gray-scale events in an image or sequence of i mages.

6.3.1 Intensity Slicing Intensity slicing and colour coding is one of the simplest kinds of pseudocolour image processing Let [0, L-1] represent the grey scale Let l 0 represent black [f(x, y) = 0] and let l L-1 represent white [f(x, y) = L-1] Suppose P planes perpendicular to the intensity axis are defined at levels l 1, l 2,, l p Assuming that 0 < P < L-1, the P planes partition the gray scale into P + 1 intervals V 1, V 2,,V P+1 (6.3-1) where C k is the colour associated with the k th intensity level V k defined by the partitioning planes at l = k 1 and l = k f (x,y) c k if f (x,y) V k

6.3.1 Intensity Slicing A gray scale image viewed as a 3D surface. FIGURE 6.18 Geometric interpretation of the intensity-slicing technique.

6.3.1 Intensity Slicing FIGURE 6.19 An alternative representation of the intensity-slicing technique.

6.3.1 Intensity Slicing (a) (b) An X-ray image of the Picker Thyroid Phantom. After density slicing into 8 colors FIGURE 6.20 (a) Monochrome image of the Picker Thyroid Phantom. (b) Result of density slicing into eight colors. (Courtesy of Dr. J. L. Blankenship, Instrumentation and Controls Division, Oak Ridge National Laboratory.)

6.3.1 Intensity Slicing (a) (b) An X-ray image of a weld with cracks After assigning a yellow color to pixels with value 255 and a blue color to all other pixels. FIGURE 6.21 (a) Monochrome X-ray image of a weld. (b) Result of color coding. (Original image courtesy of X-TEK Systems, Ltd.)

6.3.1 Intensity Slicing FIGURE 6.22 (a) (b) (a) Gray-scale image in which intensity (in t he lighter horizontal band shown) corres ponds to average m onthly rainfall. (b) Colors assigned to in tensity values. (c) Color-coded image. (d) Zoom of the South A merica region. (c) Gray-scale image (d) (Courtesy of NASA.) Color-coded image

6.3.2 Intensity Color Transformations Other types of transformations are more general and thus are capable of achieving a wider range of pseudocolor enhancement results than the simple slicing technique discussed in the preceding section.

6.3.2 Intensity Color Transformations Assigning colors to gray levels based on specific mapping functions FIGURE 6.23 Functional block diagram for pseudocolor image processing. f R, f G, and f B are fed into the corresponding red, green, and blue inputs of an RGB color monitor.

6.3.2 Intensity Color Transformations An X-ray image of a garment bag (a) An X-ray image of a garment bag with a simulated explosive device (b) (c) Color coded images FIGURE 6.24 Pseudocolor enhancement by using the gray-level to color transformations in Fig. 6. 25. (Original courtesy of Dr. Mike Hurwitz, Westinghouse.)

6.3.2 Intensity Color Transformations FIGURE 6.25 Transformation fu nctions used to o btain the in Fig.6.24.. image (b) (c)

6.3.2 Intensity Color Transformations Used in the case where there are many monochrome images such as multispectral satellite images. (b) (c) FIGURE 6.26 A pseudocolor coding approach used when several monochrome image are available.

Ex.6.6 Color coding of multispectral images The first three images are in the visible red, green and blue and the fourth is in the near infrared(see Table 1.1 and Fig. 1.10). Figure 6.27(e) is the full-color image obtained by combining the first three images into an RGB image. Full-color images of dense areas are difficult to interpret, but one notable feature of this image is the difference in color in various parts of the Potomac River. Figure 6.27(f) This image was formed by replacing the red component of Fig. 6.27(e) with the near-infrared image.

Ex. 6.6 Color coding of multispectral images These are images of the Jupiter moon Io, shown in pseudocolor by combining several of the sensor images from the Galileo spacecraft, some of which are in spectral regions not visible to the eye. However, by understanding the physical and chemical processes likely to affect sensor response, it is possible to combine the sensed images into a meaningful pseudocolr map. One way to combine the sensed image data is by how they show either differences in surface chemical composition or changes in the way the surface reflects sunlight.