Color Image Processing. Jen-Chang Liu, Spring 2006

Similar documents
Color Image Processing II

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

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

Digital Image Processing. Lecture # 8 Color Processing

Chapter 3 Part 2 Color image processing

6 Color Image Processing

Color Image Processing. Gonzales & Woods: Chapter 6

Chapter 6: Color Image Processing. Office room : 841

Unit 8: Color Image Processing

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

CHAPTER 6 COLOR IMAGE PROCESSING

Digital Image Processing COSC 6380/4393

Digital Image Processing Color Models &Processing

Digital Image Processing (DIP)

Digital Image Processing

Color Image Processing

Color Image Processing EEE 6209 Digital Image Processing. Outline

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

Digital Image Processing Chapter 6: Color Image Processing ( )

Color Image Processing

Color Image Processing

Digital Image Processing Chapter 6: Color Image Processing

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

Image and video processing

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

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

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

Color images C1 C2 C3

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

Lecture 3: Grey and Color Image Processing

COLOR and the human response to light

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

Lecture 8. Color Image Processing

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

COLOR. and the human response to light

Digital Image Processing

MODULE 4 LECTURE NOTES 1 CONCEPTS OF COLOR

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

EECS490: Digital Image Processing. Lecture #12

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

Color image processing

Introduction. The Spectral Basis for Color

The Principles of Chromatics

Lecture Color Image Processing. by Shahid Farid

Reading instructions: Chapter 6

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

Colors in Images & Video

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

Digital Image Processing

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

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

Chapter 2 Fundamentals of Digital Imaging

VC 16/17 TP4 Colour and Noise

Mahdi Amiri. March Sharif University of Technology

Digital Image Processing

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

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 חלק מהשקפים מעובדים משקפים של פרדו דוראנד, טומס פנקהאוסר ודניאל כהן-אור

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

Introduction to Color Science (Cont)

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

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

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

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

Introduction to Computer Vision and image processing

Digital Image Processing

LECTURE 07 COLORS IN IMAGES & VIDEO

Multimedia Systems and Technologies

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

Wireless Communication

Color images C1 C2 C3

Color Science. CS 4620 Lecture 15

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

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

Figure 1: Energy Distributions for light

Imaging Process (review)

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

Introduction & Colour

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

INSTITUTIONEN FÖR SYSTEMTEKNIK LULEÅ TEKNISKA UNIVERSITET

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

Basics of Colors in Graphics Denbigh Starkey

Color Image Processing

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

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

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

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

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

PERCEIVING COLOR. Functions of Color Vision

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

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

Andrea Torsello DAIS Università Ca Foscari via Torino 155, Mestre (VE) Color Vision

VIDEO AND IMAGE PROCESSING USING DSP AND PFGA. Chapter 1: Introduction to Image Processing. Contents

Color Computer Vision Spring 2018, Lecture 15

Werner Purgathofer

Color vision and representation

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

Computer Graphics Si Lu Fall /27/2016

Colorimetry and Color Modeling

Transcription:

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 touch color not color used descriptively, that is, but as a means of personal expression. Henri Matisse

Preview Why use color in image processing? Color is a powerful descriptor Object identification and extraction eg. Face detection using skin colors Humans can discern thousands of color shades and intensities c.f. Human discern only two dozen shades of grays

Preview (cont.) Two category of color image processing Full color processing Images are acquired from full-color sensor or equipments Pseudo-color processing In the past decade, color sensors and processing hardware are not available Colors are assigned to a range of monochrome intensities

Outline Color fundamentals Color models Pseudo-color image processing Basics of full-color image processing Color transformations Smoothing and sharpening

Color fundamentals Physical phenomenon Physical nature of color is known Psysio-psychological phenomenon How human brain perceive and interpret color?

Color fundamentals (cont.) 1666, Isaac Newton 三稜鏡

Visible light Chromatic light span the electromagnetic spectrum (EM) from 400 to 700 nm

Color fundamentals (cont.) The color that human perceive in an object = the light reflected from the object Illumination source scene eye reflection

Physical quantities to describe a chromatic light source Radiance: total amount of energy that flow from the light source, measured in watts (W) Luminance: amount of energy an observer perceives from a light source, measured in lumens (lm 流明 ) Far infrared light: high radiance, but 0 luminance Brightness: subjective descriptor that is hard to measure, similar to the achromatic notion of intensity

How human eyes sense light? 6~7M Cones are the sensors in the eye 3 principal sensing categories in eyes Red light 65%, green light 33%, and blue light 2%

Primary and secondary colors In 1931, CIE(International Commission on Illumination) defines specific wavelength values to the primary colors B = 435.8 nm, G = 546.1 nm, R = 700 nm However, we know that no single color may be called red, green, or blue Secondary colors: G+B=Cyan, R+G=Yellow, R+B=Magenta

Primary colors of light v.s. primary colors of pigments Primary color of pigments Color that subtracts or absorbs a primary color of light and reflects or transmits the other two Color of light: R G B Color of pigments: absorb R absorb G absorb B Cyan Magenta Yellow

Application of additive nature of light colors Color TV

CIE XYZ model RGB -> CIE XYZ model Normalized tristimulus values Z Y X X x + + = Z Y X Y y + + = Z Y X Z z + + = = B G R Z Y X 0.939 0.130 0.020 0.071 0.707 0.222 0.178 0.342 0.431 => x+y+z=1. Thus, x, y (chromaticity coordinate) is enough to describe all colors

色度圖

By additivity of colors: Any color inside the triangle can be produced by combinations of the three initial colors RGB gamut of monitors Color gamut of printers

Outline Color fundamentals Color models Pseudo-color image processing Basics of full-color image processing Color transformations Smoothing and sharpening

Color models Color model, color space, color system Specify colors in a standard way A coordinate system that each color is represented by a single point RGB model CYM model CYMK model HSI model Suitable for hardware or applications - match the human description

RGB color model

Pixel depth Pixel depth: the number of bits used to represent each pixel in RGB space Full-color image: 24-bit RGB color image (R, G, B) = (8 bits, 8 bits, 8 bits)

Safe RGB colors Subset of colors is enough for some application Safe RGB colors (safe Web colors, safe browser colors) (6) 3 = 216

Safe RGB color (cont.) Full color cube Safe color cube

CMY model (+Black = CMYK) CMY: secondary colors of light, or primary colors of pigments Used to generate hardcopy output = B G R Y M C 1 1 1

HSI color model Will you describe a color using its R, G, B components? Human describe a color by its hue, saturation, and brightness Hue 色度 : color attribute Saturation: purity of color (white->0, primary color->1) Brightness: achromatic notion of intensity

HSI color model (cont.) RGB -> HSI model Intensity line saturation Colors on this triangle Have the same hue

HSI model: hue and saturation

HSI model

HSI component images R,G,B Hue saturation intensity

Outline Color fundamentals Color models Pseudo-color image processing Basics of full-color image processing Color transformations Smoothing and sharpening

Pseudo-color image processing Assign colors to gray values based on a specified criterion For human visualization and interpretation of gray-scale events Intensity slicing Gray level to color transformations

Intensity slicing 3-D view of intensity image Color 1 Color 2 Image plane

Intensity slicing (cont.) Alternative representation of intensity slicing

Intensity slicing (cont.) More slicing plane, more colors

Application 1 Radiation test pattern 8 color regions * See the gradual gray-level changes

Application 2 X-ray image of a weld 焊接物

Application 3 Rainfall statistics

Gray level to color transformation Intensity slicing: piecewise linear transformation General Gray level to color transformation

Gray level to color transformation

Application 1

Combine several monochrome images Example: multi-spectral images

Washington D.C. R G B Near Infrared (sensitive to biomass) R+G+B near-infrared+g+b

Outline Color fundamentals Color models Pseudo-color image processing Basics of full-color image processing Color transformations Smoothing and sharpening

Color pixel A pixel at (x,y) is a vector in the color space RGB color space = ), ( ), ( ), ( ), ( y x B y x G y x R y x c c.f. gray-scale image f(x,y) = I(x,y)

Example: spatial mask

How to deal with color vector? Per-color-component processing Process each color component Vector-based processing Process the color vector of each pixel When can the above methods be equivalent? Process can be applied to both scalars and vectors Operation on each component of a vector must be independent of the other component

Two spatial processing categories Similar to gray scale processing studied before, we have to major categories Pixel-wise processing Neighborhood processing

Outline Color fundamentals Color models Pseudo-color image processing Basics of full-color image processing Color transformations Smoothing and sharpening

Color transformation Similar to gray scale transformation g(x,y)=t[f(x,y)] Color transformation si = Ti ( r1, r2,..., rn ), i= 1,2,..., n g(x,y) f(x,y) s 1 s 2 s n T 1 T 2 T n f 1 f 2 f n

Use which color model in color transformation? RGB CMY(K) HSI Theoretically, any transformation can be performed in any color model Practically, some operations are better suited to specific color model

Example: modify intensity of a color image Example: g(x,y)=k f(x,y), 0<k<1 HSI color space Intensity: s 3 = k r 3 Note: transform to HSI requires complex operations RGB color space For each R,G,B component: s i = k r i CMY color space For each C,M,Y component: s i = k r i +(1-k)

I H,S

Problem of using Hue component dis-continuous Un-defined over gray axis

Implementation of color slicing Recall the pseudo-color intensity slicing 1-D intensity

Implementation of color slicing How to take a region of colors of interest? prototype color prototype color Sphere region Cube region

Application cube sphere

Outline Color fundamentals Color models Pseudo-color image processing Basics of full-color image processing Color transformations Smoothing and sharpening

Color image smoothing Neighborhood processing

Color image smoothing: averaging mask = S xy y x y x K y x ), ( ), ( 1 ), c( c Neighborhood Centered at (x,y) = xy xy xy S y x S y x S y x y x B K y x G K y x R K y x ), ( ), ( ), ( ), ( 1 ), ( 1 ), ( 1 ), c( vector processing per-component processing

original R G G H S I

Example: 5x5 smoothing mask RGB model Smooth I in HSI model difference