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

Similar documents
Color Image Processing

Color Image Processing

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

Color Image Processing. Gonzales & Woods: Chapter 6

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

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

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

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

Chapter 3 Part 2 Color image processing

Digital Image Processing Color Models &Processing

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

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

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

INSTITUTIONEN FÖR SYSTEMTEKNIK LULEÅ TEKNISKA UNIVERSITET

Digital Image Processing. Lecture # 8 Color Processing

COLOR and the human response to light

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

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

Colors in Images & Video

Color Theory: Defining Brown

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

Wireless Communication

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

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

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

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

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

Introduction. The Spectral Basis for Color

COLOR. and the human response to light

LECTURE 07 COLORS IN IMAGES & VIDEO

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

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

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

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

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

Imaging Process (review)

2. Color spaces Introduction The RGB color space

The Principles of Chromatics

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

Human Vision, Color and Basic Image Processing

Color Image Processing. Jen-Chang Liu, Spring 2006

CHAPTER 6 COLOR IMAGE PROCESSING

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

Prof. Feng Liu. Fall /02/2018

6 Color Image Processing

Digital Image Processing (DIP)

VC 16/17 TP4 Colour and Noise

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

Colour (1) Graphics 2

Announcements. The appearance of colors

Mahdi Amiri. March Sharif University of Technology

Technology and digital images

Multimedia Systems and Technologies

Color images C1 C2 C3

Image and video processing

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

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

EECS490: Digital Image Processing. Lecture #12

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

Introduction to Computer Vision CSE 152 Lecture 18

Lecture 3: Grey and Color Image Processing

Brief Introduction to Vision and Images

2. Color spaces Introduction The RGB color space

Introduction to Color Science (Cont)

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

Figure 1: Energy Distributions for light

The human visual system

Color Image Processing

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

Sensors and Sensing Cameras and Camera Calibration

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

Interactive Computer Graphics

IMAGE PROCESSING >COLOR SPACES UTRECHT UNIVERSITY RONALD POPPE

CSE 332/564: Visualization. Fundamentals of Color. Perception of Light Intensity. Computer Science Department Stony Brook University

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

IFT3355: Infographie Couleur. Victor Ostromoukhov, Pierre Poulin Dép. I.R.O. Université de Montréal

Digital Image Processing Chapter 6: Color Image Processing ( )

Images and Colour COSC342. Lecture 2 2 March 2015

Basics of Colors in Graphics Denbigh Starkey

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

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

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

Observing a colour and a spectrum of light mixed by a digital projector

Lecture Color Image Processing. by Shahid Farid

Additive Color Synthesis

Unit 8: Color Image Processing

CSE1710. Big Picture. Reminder

USE OF COLOR IN REMOTE SENSING

Digital Image Processing

Color Transformations

Optical properties. Quality Characteristics of Agricultural Materials

Color Image Processing EEE 6209 Digital Image Processing. Outline

Computer Graphics: Graphics Output Primitives Primitives Attributes

Outline. Image formation: the pinhole camera model Images as functions Digital images Color, light and shading. Reading: textbook: 2.1, 2.2, 2.

CMVision and Color Segmentation. CSE398/498 Robocup 19 Jan 05

Color and More. Color basics

Introduction to Computer Vision and image processing

Introduction & Colour

VEHICLE LICENSE PLATE DETECTION ALGORITHM BASED ON STATISTICAL CHARACTERISTICS IN HSI COLOR MODEL

Color image processing

Transcription:

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

Introduction To be able to see objects and a scene, we need light Otherwise, everything is black How does behave the light when it touches a surface? What are the influence of the surface properties? Our first perception of light is color But not the only one 2

Introduction Interest of color segmentation and recognition are simplified more information per pixel instead of only one Multi-spectral images Each pixel contains information from a spectral bandwith We obtain color images, for example, by taking 3 bands from the visible spectrum Some devices exist to acquire signal from more bands (X-ray, infrared, radio,...) 3

Humans and color For human, color is perceived in the eyes via cones 3 types of cones: Low, Medium and Supra-Frequency. We often refer to them as red, green and blue cones L M S Source : Patrick Hébert, Vision numérique, Université Laval (Québec, Canada). 4

Color and natural scenes Depending on conditions, the color that we see in a scene can vary a lot. This makes image processing more complicated Violet Indigo Blue Green Yellow Orange Red Source : Marc Pollefeys, Computer vision, University of North Carolina (USA). 5

Albedo and color perception When we perceive color, what we see correspond to a function spreading over all the frequencies This function is called spectral albedo Source : Marc Pollefeys, Computer vision, University of North Carolina (USA). 6

Red-Green-Blue representation 7

Primary colors Color representation using primary colors Red-Green-Blue Additive scheme (for displaying on a screen) For a grey level: R=G=B Color representation using primary colors Cyan-Magenta-Yellow Substractive scheme (for printing on paper) We substract from white instead of adding to black like in RGB CMY = 1 - RGB 8

Addition/substraction of colors The additive scheme (top) is used for displaying on screen while the substractive (bottom) is used mainly for printing on paper Source : Gonzalez and Woods. Digital Image Processing. Prentice-Hall, 2002. 9

Color segmentation Color is analyzed as three components Using different color component allows to complete and improve the results Example: thresholding true only if all three, or 2 on 3, color components are superior to the threshold Example: add edges detected on all 2 color planes 10

Color image processing Input image RGB decomposition Histogram Intensity profile Gradient Sobel Segmentation 11

3D color histogram We can detect color of an object by building a 3D histogram We allocate a 3D array of size N (example: N=32) for reducing the histogram size For each color pixel, we increment the corresponding cell in the histogram Color of the object Color of the light G Source : James L. Crowley, Vision par ordinateur, INPG (France). 12

Color spaces There ar many different spaces to represent colors RGB is the most common in computer science Easy to implement on hardware for displying color Not the best for image processing We can choose a better image coding to improve results 13

Color spaces There are three types of color spaces: Purely physic approach RGB, XYZ,... Purely visual approach Munsell, HSV,... Physic approach, but corrected by psychometry LAB, LUV,... Source : Jean-Marc Breteau. Cours de colorimétrie. Université du Maine (France). http://prn1.univ-lemans.fr/prn1/siteheberge/optique/m7g5_jmbreteau/co/m7g5.html 14

Hue-Saturation-Value The Hue-Saturation-Value (HSV) color space is useful for segmentation and recognition Non-linear conversion Visual representation of colors We identify for a pixel The pixel intensity (value) The pixel color (hue + saturation) RGB does not have this seperation In RGB, all three components are correlated 15

HSV representation G Teinte Hue R Hue (H) is coded as an angle between 0 and 360 Saturation (S) is coded as a radius between 0 and 1 S = 0 : gray S = 1 : pure color Value (V) = MAX (Red, Green, Blue) B Note: we can find in the litterature different definitions more or less equivalent of HSV 16

Different possibilities for HSV 17

Luminance/color models Other examples There are many representation models (cone, cylinder, polygonal,...) separating luminance and color of a pixel Source : Gonzalez and Woods. Digital Image Processing. Prentice-Hall, 2002. 18

Effect of saturation Left: Input image Center: saturation decrease of 20% Right: saturation increase of 20% Source : Source : Patrick Hébert, Vision numérique, Université Laval (Québec, Canada). 19

HSV segmentation If we know the color of the object we are looking for, we can model it using a hue interval Take care, because it is an angle (periodic value) Hue < 60 means nothing Is 350 smaller or bigger than 60? Define an interval: 350 < Hue < 60 (for example) This interval is valid if Saturation > threshold (otherwise gray level) This is independant of Value, which is more sensible to light conditions 20

Color decomposition Source : Gonzalez and Woods. Digital Image Processing. Prentice-Hall, 2002. 21

Lab color space (La*b*) The Lab system (sometimes La*b*) is based on a study from human vision independant from all technologies presenting colors as seen by the human eyes Colors are defined using 3 values L is the luminance, going from 0% (black) to 100% (white) a* represents an axis going from green (negative value) tp red (positive value) b* represents an axis going from blue (negative value) to yellow (positive value) Source : http://fr.wikipedia.org/wiki/cie_lab 22

Lab color space (La*b*) L=25% L=75% Source : http://www.tsi.enst.fr/tsi/enseignement/ressources/mti/rvb_ou_ Source : http://fr.wikipedia.org/wiki/cie_lab 23

Example of using color for robotic vision Robotic vision: a camera on a robot helps it to move into a known/unknown environment Source : Wasik & Saffiotti. Robust Color Segmentation for the RoboCup Domain. 16th International Conference on Pattern Recognition (ICPR'02), Vol. 2, p. 20651, 2002. 24