Chapter 5 Extraction of color and texture Comunicação Visual Interactiva. image labeled by cluster index

Similar documents
Color and Shading. Color. Shapiro and Stockman, Chapter 6. Color and Machine Vision. Color and Perception

Lecture 1 Image Formation.

Introduction to color science

Color. making some recognition problems easy. is 400nm (blue) to 700 nm (red) more; ex. X-rays, infrared, radio waves. n Used heavily in human vision

Announcements. Lighting. Camera s sensor. HW1 has been posted See links on web page for readings on color. Intro Computer Vision.

Lecture 12 Color model and color image processing

Lecture 11. Color. UW CSE vision faculty

CSE 167: Lecture #6: Color. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2011

Fall 2015 Dr. Michael J. Reale

Digital Image Processing

Image Formation. Camera trial #1. Pinhole camera. What is an Image? Light and the EM spectrum The H.V.S. and Color Perception

Computer Vision. The image formation process

CS635 Spring Department of Computer Science Purdue University

CSE 167: Introduction to Computer Graphics Lecture #6: Colors. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2013

CSE 167: Lecture #6: Color. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2012

Colour Reading: Chapter 6. Black body radiators

The Display pipeline. The fast forward version. The Display Pipeline The order may vary somewhat. The Graphics Pipeline. To draw images.

CG T8 Colour and Light

(0, 1, 1) (0, 1, 1) (0, 1, 0) What is light? What is color? Terminology

Digital Image Processing. Introduction

CHAPTER 3 COLOR MEASUREMENT USING CHROMATICITY DIAGRAM - SOFTWARE

Game Programming. Bing-Yu Chen National Taiwan University

Visualisatie BMT. Rendering. Arjan Kok

Reading. 2. Color. Emission spectra. The radiant energy spectrum. Watt, Chapter 15.

Colour computer vision: fundamentals, applications and challenges. Dr. Ignacio Molina-Conde Depto. Tecnología Electrónica Univ.

Color to Binary Vision. The assignment Irfanview: A good utility Two parts: More challenging (Extra Credit) Lighting.

Image Analysis and Formation (Formation et Analyse d'images)

ECE-161C Color. Nuno Vasconcelos ECE Department, UCSD (with thanks to David Forsyth)

Lighting. Camera s sensor. Lambertian Surface BRDF

The Elements of Colour

Computer Graphics. Bing-Yu Chen National Taiwan University The University of Tokyo

Image Formation. Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico

Digital Image Processing COSC 6380/4393. Lecture 19 Mar 26 th, 2019 Pranav Mantini

Image Processing. Color

Spectral Color and Radiometry

Physical Color. Color Theory - Center for Graphics and Geometric Computing, Technion 2

Color Space Transformations

3D graphics, raster and colors CS312 Fall 2010

Visible Color. 700 (red) 580 (yellow) 520 (green)

Lenses: Focus and Defocus

Introduction to Computer Graphics with WebGL

Announcements. Camera Calibration. Thin Lens: Image of Point. Limits for pinhole cameras. f O Z

What is color? What do we mean by: Color of an object Color of a light Subjective color impression. Are all these notions the same?

Cvision 3 Color and Noise

Illumination and Shading

Chapter 4 Color in Image and Video

A New Time-Dependent Tone Mapping Model

1. Final Projects 2. Radiometry 3. Color. Outline

CS6670: Computer Vision

Lecture 16 Color. October 20, 2016

Color. Phillip Otto Runge ( )

VC 10/11 T4 Colour and Noise

Distributed Algorithms. Image and Video Processing

Computer Vision Course Lecture 02. Image Formation Light and Color. Ceyhun Burak Akgül, PhD cba-research.com. Spring 2015 Last updated 04/03/2015

CS5670: Computer Vision

Light. Computer Vision. James Hays

CS6670: Computer Vision

Main topics in the Chapter 2. Chapter 2. Digital Image Representation. Bitmaps digitization. Three Types of Digital Image Creation CS 3570

CS4670: Computer Vision

Mu lt i s p e c t r a l

Causes of color. Radiometry for color

Mech 296: Vision for Robotic Applications

Light Transport Baoquan Chen 2017

Color and Light CSCI 4229/5229 Computer Graphics Fall 2016

Polytechnic Institute of NYU Fall 2012 EL5123/BE DIGITAL IMAGE PROCESSING

Announcements. Light. Properties of light. Light. Project status reports on Wednesday. Readings. Today. Readings Szeliski, 2.2, 2.3.

Sources, Surfaces, Eyes

CSE 167: Lecture #7: Color and Shading. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2011

Visual Perception. Basics

CONTRAST ENHANCEMENT OF COLOR IMAGES BASED ON WAVELET TRANSFORM AND HUMAN VISUAL SYSTEM

3D Visualization of Color Data To Analyze Color Images

CS 556: Computer Vision. Lecture 18

Image Processing using LabVIEW. By, Sandip Nair sandipnair.hpage.com

Light. Properties of light. What is light? Today What is light? How do we measure it? How does light propagate? How does light interact with matter?

Color Image Processing

Color Vision. Spectral Distributions Various Light Sources

When this experiment is performed, subjects find that they can always. test field. adjustable field

Chapter 1. Light and color

11. Image Data Analytics. Jacobs University Visualization and Computer Graphics Lab

Reading. 4. Color. Outline. The radiant energy spectrum. Suggested: w Watt (2 nd ed.), Chapter 14. Further reading:

Chapter 2 - Fundamentals. Comunicação Visual Interactiva

Robert Matthew Buckley. Nova Southeastern University. Dr. Laszlo. MCIS625 On Line. Module 2 Graphics File Format Essay

The topics are listed below not exactly in the same order as they were presented in class but all relevant topics are on the list!

ams AG TAOS Inc. is now The technical content of this TAOS document is still valid. Contact information:

CHAPTER 1 Introduction 1. CHAPTER 2 Images, Sampling and Frequency Domain Processing 37

Skin Detection - a Short Tutorial

Hybrid Cone-Cylinder Codebook Model for Foreground Detection with Shadow and Highlight Suppression

Color, Edge and Texture

Computer Graphics. Bing-Yu Chen National Taiwan University

C101-E137 TALK LETTER. Vol. 14

One image is worth 1,000 words

Pick up Light Packet & Light WS

Color and Light. CSCI 4229/5229 Computer Graphics Summer 2008

Color Content Based Image Classification

VISUAL SIMULATING DICHROMATIC VISION IN CIE SPACE

Lecture #13. Point (pixel) transformations. Neighborhood processing. Color segmentation

Lecture 1. Computer Graphics and Systems. Tuesday, January 15, 13

CIE L*a*b* color model

CHAPTER 3 FACE DETECTION AND PRE-PROCESSING

Today. Global illumination. Shading. Interactive applications. Rendering pipeline. Computergrafik. Shading Introduction Local shading models

Transcription:

Chapter 5 Extraction of color and texture Comunicação Visual Interactiva image labeled by cluster index

Color images Many images obtained with CCD are in color. This issue raises the following issue -> What is the color? how can we represent it in a PC? Definition: The color is the human perception, that is, the output of the visual system to the electromagnetic waves (i.e., light) Facts: In the 19th century, Young e Helmholtz found that it is possible synthesize many colors from the mixture of 3 primary colors. This allows the reproduction of colors in both PC and TV 2

Suppose that we receive a light beam with the spectrum where is the wave length Also, suppose that the primary colors have a known spectrum, i.e., Color images In general is a complex function and can not be represented by the linear combination of the three spectra tthat is 1 2 (where are the mixture coefficients) 3

Question: How can we relate these facts with the Young e Helmoltz s discovery? Color images Although, the three colors do not suffice to represent the input spectrum, what is amazing is that, despite this difference, the color perception can be the same!! To better understand this, we have to figure out how the retina works! The retina has three types of cells that are sensitive to color the cones! Two spectra may be different and still produce the same output in the three types of cones The output of each cone to the incident spectrum is given by (where is the output of cone i) 4

Color images Using the equation 1 2 We can conclude that and represent the color if and only if which is equivalent to 5

Defining Color images We can write There exists some constraints (i.e., some conditions must be met in order to obtain the same color perception with three primary colors): The mixture is realizable if the coefficients are (it is not true in some cases) When the solution leads to a negative coefficients, this means that the color is not realizable by the mixture of three primary colors Can three primary spectra synthetize all the colors with positive coefficients? The answer is No! 6

Color can be represented by several systems of coordinates: RGB :700nm (red), 546.1 nm (green) 435.8 nm (blue) XYZ YUV HSV (hue, saturation,value ) CMY (used for printing) Color several coordinate systems Color images RGB HSV 7

Human perception depends on 3 main factors: The way how the light source distributes in the spectra The reflectance of the object surface, that is, the relation between the emission spectrum and the source spectrum radiated from the surface The spectra sensibility of the sensor Color Perception An object is blue if illuminated with white color looks like blue. The same object turns violet, if illuminated with red color. A blue car illuminated with intense sunlight (white) heats up and iradiates energy in the IR band (invisible for human eye, but visible be IR sensor) There are another issues that affect the object perception: Material (specular surfaces), distance, orientation 8

Color Perception 9

The retina color receptors (cones) are sensible only in a given range of the wave-length The Human Visual System (HVS) has three types of cones The brain is responsible for the fusion of the information of these 3 fonts Percepction and color How is that possíble? There exists infinite possibilities of the spectra distribution. However, only three characteristics are necessary Sensor Sensibility Important note: The CCD sensors have, in general, good sensibility in the IR band (advantage or disadvantage?) 10

Summary The perception of the color depends on: Light source Object reflectance (albedo) Observer sensibility E() S() f C ( ), C R, G, B G E( ) S( ) fg ( ) d B E( ) S( ) fb ( ) d R E( ) S( ) fr ( ) d (dark line sensibility of the rods) 11

Color representation in RGB Currently, the graphical systems use 3 bytes (RGB) for representing the color of a pixel (true color) 16.777.216 possible codifications 16 bits/pixel is a reasonable choice (5 bits for each of the components RGB, plus one adicional bit for green). The HVS has larger sensibility in the green band. RGB cube Monitor RGB 12

Other Color Representation Systems Additive system Subtractive system 13

Chromatic Diagram r,g Chrominance: r g R R G B I G R G B Luminance: R G B 3 Other alternative: normalization by max(r,g,b) 14

Hue Saturation Intensity (HSI) representation Resulting effect by changing the saturation component original +40% -20% 15

Conversion from RGB to HSI 16

Color Histogram K j M I M I j h j h h h Intersection 1 ) ( ), ( min, K j M K j M I M I j h j h j h h h match 1 1 ) ( ) ( ), ( min, 17

Classification using Color 18

Classification (face detection - I) Bishop 2004 19

Classification (face detection - IV) 20

Classificação (detecção de faces - III) 21

22

Primary colors: R, G, B Color Matching CIE XYZ Problem: Some colors produce negative coefficients Solution: Linear transform. Primary colors are now imaginárias XYZ 23

Chromaticity Diagram x,y B G R Z Y X 0.944 0.056 0.000 0.115 0.586 0.299 0.204 0.177 0.619 y x z Z Y X Y y Z Y X X x 1 Relation with primary colors, RGB: Chromatic coordinates 24

It is hard to define the texture meaning What is the texture? Texture give us the information about the spatial distribution of the intensities and/or colors It is a useful feature for segmenting images in regions Example: Different textures with the same histogram 25

Structural Approach Different Approaches texture is the way how the set of basic patterns (texels) are organized in a region Statistical Approach texture is a quantitative measure of how the intensities are arranged in a region 26

Density (edgeness) and edges orientation p Mag( p) T Example F edgeness F magdir H mag 2 levels of amplitude: weak and strong 3 level of orientation: horizontal, vertical e diagonal N ( R), H ( R) dir Quantitative Measures 25 6 Fedgeness 1 F edgeness 0. 24 25 25 F 0.24,0.760.48,0.52,0.00 0.00,0.240.00,0.00,0.24 magdir F magdir Histogram Distance L n 1 ( H1, H2) H1( i) H2( i) i1 27