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

Color Image Processing

Colors in Images & Video

Chapter 3 Part 2 Color image processing

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

Wireless Communication

Color images C1 C2 C3

LECTURE 07 COLORS IN IMAGES & VIDEO

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

Color image processing

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

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

Lecture 8. Color Image Processing

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

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

Digital Image Processing (DIP)

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

Color Image Processing EEE 6209 Digital Image Processing. Outline

Color Image Processing. Gonzales & Woods: Chapter 6

Introduction to Multimedia Computing

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

COLOR and the human response to light

Unit 8: Color Image Processing

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

COLOR. and the human response to light

IMAGE PROCESSING >COLOR SPACES UTRECHT UNIVERSITY RONALD POPPE

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

Introduction. The Spectral Basis for Color

Reading instructions: Chapter 6

Color Image Processing. Jen-Chang Liu, Spring 2006

Color Image Processing

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

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

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

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

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

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

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

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

Interactive Computer Graphics

EECS490: Digital Image Processing. Lecture #12

Computers and Imaging

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

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

Color images C1 C2 C3

2. Color spaces Introduction The RGB color space

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

CHAPTER 6 COLOR IMAGE PROCESSING

Chapter 6: Color Image Processing. Office room : 841

Lecture 3: Grey and Color Image Processing

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

Color Theory: Defining Brown

Introduction to Computer Vision CSE 152 Lecture 18

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

Images and Colour COSC342. Lecture 2 2 March 2015

Introduction to Computer Vision and image processing

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

Performance Analysis of Color Components in Histogram-Based Image Retrieval

MULTIMEDIA SYSTEMS

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

IMAGE INTENSIFICATION TECHNIQUE USING HORIZONTAL SITUATION INDICATOR

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

Histograms and Color Balancing

Figure 1: Energy Distributions for light

Lecture Color Image Processing. by Shahid Farid

Chapter 2 Fundamentals of Digital Imaging

VC 16/17 TP4 Colour and Noise

Mahdi Amiri. March Sharif University of Technology

Color Image Processing

Color vision and representation

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

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

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

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

CSSE463: Image Recognition Day 2

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

Color Image Segmentation using FCM Clustering Technique in RGB, L*a*b, HSV, YIQ Color spaces

INSTITUTIONEN FÖR SYSTEMTEKNIK LULEÅ TEKNISKA UNIVERSITET

Multimedia Systems and Technologies

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

Basics of Colors in Graphics Denbigh Starkey

2. Color spaces Introduction The RGB color space

Colour (1) Graphics 2

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

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

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

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

ENGG1015 Digital Images

LIST OF SYMBOLS AND ABBREVIATIONS

Announcements. The appearance of colors

Digital Image Processing

Color Reproduction. Chapter 6

Introduction & Colour

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

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

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.

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

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.

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

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

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

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

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

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.

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

Color Clustering by K-means 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.

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

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.

Histograms of two color images

How to make a color histogram Make a single 3D 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.

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

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.

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)

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

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

Four views of Snoopy Histograms

The 66 models objects Some test objects

Swain and Ballard 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.