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

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

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

Imaging Process (review)

Color Image Processing

Digital Image Processing Color Models &Processing

Digital Image Processing. Lecture # 8 Color Processing

Colors in Images & Video

Color Image Processing

LECTURE 07 COLORS IN IMAGES & VIDEO

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

Wireless Communication

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

Lecture 8. Color Image Processing

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

Color images C1 C2 C3

Chapter 3 Part 2 Color image processing

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

Color Image Processing. Gonzales & Woods: Chapter 6

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

IMAGES AND COLOR. N. C. State University. CSC557 Multimedia Computing and Networking. Fall Lecture # 10

Color image processing

Introduction to Multimedia Computing

Introduction. The Spectral Basis for Color

Color Image Processing EEE 6209 Digital Image Processing. Outline

Digital Image Processing (DIP)

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

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

COLOR and the human response to light

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

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

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

COLOR. and the human response to light

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

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

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

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

Color Image Processing. Jen-Chang Liu, Spring 2006

Reading instructions: Chapter 6

IMAGE PROCESSING >COLOR SPACES UTRECHT UNIVERSITY RONALD POPPE

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

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

6 Color Image Processing

Color Image Processing

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

Color Theory: Defining Brown

Interactive Computer Graphics

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

Introduction to Computer Vision and image processing

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

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

Lecture Color Image Processing. by Shahid Farid

Introduction to Computer Vision CSE 152 Lecture 18

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

EECS490: Digital Image Processing. Lecture #12

Computers and Imaging

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

VC 16/17 TP4 Colour and Noise

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

Multimedia Systems and Technologies

MULTIMEDIA SYSTEMS

Mahdi Amiri. March Sharif University of Technology

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

CHAPTER 6 COLOR IMAGE PROCESSING

Colour (1) Graphics 2

IMAGE INTENSIFICATION TECHNIQUE USING HORIZONTAL SITUATION INDICATOR

Stamp Colors. Towards a Stamp-Oriented Color Guide: Objectifying Classification by Color. John M. Cibulskis, Ph.D. November 18-19, 2015

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

Color images C1 C2 C3

Chapter 6: Color Image Processing. Office room : 841

Performance Analysis of Color Components in Histogram-Based Image Retrieval

Figure 1: Energy Distributions for light

Images and Colour COSC342. Lecture 2 2 March 2015

Lecture 3: Grey and Color Image Processing

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

Introduction & Colour

INSTITUTIONEN FÖR SYSTEMTEKNIK LULEÅ TEKNISKA UNIVERSITET

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

Histograms and Color Balancing

2. Color spaces Introduction The RGB color space

DESIGN & DEVELOPMENT OF COLOR MATCHING ALGORITHM FOR IMAGE RETRIEVAL USING HISTOGRAM AND SEGMENTATION TECHNIQUES

Announcements. The appearance of colors

Color Image Processing

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

CSSE463: Image Recognition Day 2

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

Color vision and representation

Image processing & Computer vision Xử lí ảnh và thị giác máy tính

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

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

Chapter 2 Fundamentals of Digital Imaging

Basics of Colors in Graphics Denbigh Starkey

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

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

Introduction to Color Theory

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

Digital Image Processing

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

Computer Graphics Si Lu Fall /27/2016

Transcription:

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, infrared, radio waves 1

Factors that Affect Perception Light: the spectrum of energy that illuminates the object surface Reflectance: ratio of reflected light to incoming light Specularity: highly specular (shiny) vs. matte surface Distance: distance to the light source Angle: angle between surface normal and light source Sensitivity how sensitive is the sensor 2

Difference Between Graphics and In graphics we are given values for all these parameters, and we create a view of the surface. Vision In vision, we are given a view of the surface, and we have to figure out what s going on. What s going on? 3

Some physics of color: Visible part of the electromagnetic spectrum White light is composed of all visible frequencies (400-700) Ultraviolet and X-rays X are of much smaller wavelength Infrared and radio waves are of much longer wavelength 4

Coding methods for humans RGB is an additive system (add colors to black) used for displays. CMY is a subtractive system for printing. HSI is a good perceptual space for art, psychology, and recognition. YIQ used for TV is good for compression. 5

RGB color cube R, G, B values normalized to (0, 1) interval human perceives gray for triples on the diagonal Pure colors on corners 6

Color palette and normalized RGB Color triangle for normalized RGB coordinates is a slice through the points [1,0,0], [0,1,0], and [0,0,1] of the RGB cube. The blue axis is perpendicular to the page. Intensity I = (R+G+B) / 3 Normalized red r = R/(R+G+B) Normalized green g = G/(R+G+B) Normalized blue b = B/(R+G+B) In this normalized representation, b = 1 r g, so we only need to look at r and g to characterize the color. 7

Color hexagon for HSI (HSV) Hue is encoded as an angle (0 to 2π). Saturation is the distance to the vertical axis (0 to 1). Intensity is the height along the vertical axis (0 to 1). H=120 is green intensity H=180 is cyan I=1 hue saturation H=0 is red H=240 is blue I=0 8

Editing saturation of colors (Left) Image of food originating from a digital camera; (center) saturation value of each pixel decreased 20%; (right) saturation value of each pixel increased 40%. 9

YIQ and YUV for TV signals Have better compression properties Luminance Y encoded using more bits than chrominance values I and Q; humans more sensitive to Y than I,Q Luminance used by black/white TVs All 3 values used by color TVs YUV encoding used in some digital video and JPEG and MPEG compression 10

Conversion from RGB to YIQ An approximate linear transformation from RGB to YIQ: We often use this for color to gray-tone conversion. 11

CIE, the color system we ve been using in recent object recognition work Commission Internationale de l'eclairage - this commission determines standards for color and lighting. It developed the Norm Color system (X,Y,Z) and the Lab Color System (also called the CIELAB Color System). 12

CIELAB, Lab, L*a*b One luminance channel (L) and two color channels (a and b). In this model, the color differences which you perceive correspond to Euclidian distances in CIELab. The a axis extends from green (-a) to red (+a) and the b axis from blue (-b)( to yellow (+b). The brightness (L) increases from the bottom to the top of the three-dimensional model. 13

References The text and figures are from http://www.sapdesignguild.org/resources/glossary_color/index1.ht ml CIELab Color Space http://www.fho-emden.de/~hoffmann/cielab03022003.pdf Color Spaces Transformations http://www.couleur.org/index.php?page=transformations 3D Visualization http://www.ite.rwth- aachen.de/inhalt/forschung/farbbildrepro/farbkoerper/visual3d.html 14

Colors can be used for image segmentation into regions Can cluster on color values and pixel locations Can use connected components and an approximate color criteria to find regions Can train an algorithm to look for certain colored regions for example, skin color 15

Color histograms can represent an image Histogram is fast and easy to compute. Size can easily be normalized so that different image histograms can be compared. Can match color histograms for database query or classification. 16

Histograms of two color images 17

Retrieval from image database Top left image is query image. The others are retrieved by having similar color histogram (See Ch 8). 18

How to make a color histogram Make 3 histograms and concatenate them Create a single pseudo color between 0 and 255 by using 3 bits of R, 3 bits of G and 2 bits of B (which bits?) Use normalized color space and 2D histograms. 19

Apples versus Oranges H S I Separate HSI histograms for apples (left) and oranges (right) used by IBM s VeggieVision for recognizing produce at the grocery store checkout station (see Ch 16). 20

Skin color in RGB space (shown as normalized red vs normalized green) Purple region shows skin color samples from several people. Blue and yellow regions show skin in shadow or behind a beard. 21

Finding a face in video frame (left) input video frame (center) pixels classified according to RGB space (right) largest connected component with aspect similar to a face (all work contributed by Vera Bakic) 22

Swain and Ballard s Histogram Matching for Color Object Recognition (IJCV Vol 7, No. 1, 1991) Opponent Encoding: wb = R + G + B rg= R -G by = 2B -R -G Histograms: 8 x 16 x 16 = 2048 bins Intersection of image histogram and model histogram: numbins intersection(h(i),h(m)) = min{h(i)[j],h(m)[j]} j=1 Match score is the normalized intersection: numbins match(h(i),h(m)) = intersection(h(i),h(m)) / h(m)[j] j=1 23

(from Swain and Ballard) cereal box image 3D color histogram 24

Four views of Snoopy Histograms 25

The 66 models objects Some test objects 26

More test objects used in occlusion experiments 27

Results Results were surprisingly good. At their highest resolution (128 x 90), average match percentile (with and without occlusion) was 99.9. This translates to 29 objects matching best with their true models and 3 others matching second best with their true models. At resolution 16 X 11, they still got decent results (15 6 4) in one experiment; (23 5 3) in another. 28

Color Clustering by K-means K Algorithm Use for HW 1 Form K-means clusters from a set of n-dimensional vectors 1. Set ic (iteration count) to 1 2. Choose randomly a set of K means m1(1),, mk(1). 3. For each vector xi, compute D(xi,mk(ic)), k=1, K and assign xi to the cluster Cj with nearest mean. 4. Increment ic by 1, update the means to get m1(ic),,mk(ic). 5. Repeat steps 3 and 4 until Ck(ic) = Ck(ic+1) for all k. 29

K-means Clustering Example Original RGB Image Color Clusters by K-Means 30