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

Similar documents
Digital Image Processing COSC 6380/4393

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. Color Image Processing

6 Color Image Processing

Color Image Processing. Gonzales & Woods: Chapter 6

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

Chapter 3 Part 2 Color image processing

Digital Image Processing Color Models &Processing

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

Digital Image Processing (DIP)

Color Image Processing EEE 6209 Digital Image Processing. Outline

Unit 8: Color Image Processing

Digital Image Processing Chapter 6: Color Image Processing ( )

Color Image Processing

Digital Image Processing

Digital Image Processing. Lecture # 8 Color Processing

Color Image Processing

Chapter 6: Color Image Processing. Office room : 841

Color images C1 C2 C3

COLOR and the human response to light

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

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

CHAPTER 6 COLOR IMAGE PROCESSING

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

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

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

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

COLOR. and the human response to light

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

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

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

The Principles of Chromatics

Computer Graphics Si Lu Fall /27/2016

Color image processing

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

Lecture 8. Color Image Processing

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

Color Image Processing

MODULE 4 LECTURE NOTES 1 CONCEPTS OF COLOR

Figure 1: Energy Distributions for light

Introduction. The Spectral Basis for Color

PERCEIVING COLOR. Functions of Color Vision

Visual Imaging and the Electronic Age Color Science

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

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

Colors in Images & Video

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

Color Image Processing

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

Lecture Color Image Processing. by Shahid Farid

Wireless Communication

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

Digital Image Processing

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

Digital Image Processing Chapter 6: Color Image Processing

Digital Image Processing

Lecture 3: Grey and Color Image Processing

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

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

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

Interactive Computer Graphics

LECTURE 07 COLORS IN IMAGES & VIDEO

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

Understanding Color Theory Excerpt from Fundamental Photoshop by Adele Droblas Greenberg and Seth Greenberg

Basics of Colors in Graphics Denbigh Starkey

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

Mahdi Amiri. March Sharif University of Technology

Color vision and representation

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

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

excite the cones in the same way.

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

Introduction to Computer Vision CSE 152 Lecture 18

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

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

Chapter 2 Fundamentals of Digital Imaging

Color , , Computational Photography Fall 2017, Lecture 11

EECS490: Digital Image Processing. Lecture #12

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

Color , , Computational Photography Fall 2018, Lecture 7

Color Science. CS 4620 Lecture 15

Color Computer Vision Spring 2018, Lecture 15

Tratamiento de Imágenes por Computadora. Color

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

Introduction & Colour

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

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

Multimedia Systems and Technologies

The Science Seeing of process Digital Media. The Science of Digital Media Introduction

Additive Color Synthesis

12/02/2017. From light to colour spaces. Electromagnetic spectrum. Colour. Correlated colour temperature. Black body radiation.

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

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

What is Color Gamut? Public Information Display. How do we see color and why it matters for your PID options?

Color images C1 C2 C3

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

Introduction to Color Science (Cont)

Slide 1. Slide 2. Slide 3. Light and Colour. Sir Isaac Newton The Founder of Colour Science

Adapted from the Slides by Dr. Mike Bailey at Oregon State University

What is Color? Chapter 9: Color. Color Mixtures. Color Mixtures 10/29/2012. What is color? Color vocabulary

Transcription:

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

What is color? Color is a psychological property of our visual experiences when we look at objects and lights, not a physical property of those objects or lights (S. Palmer, Vision Science: Photons to Phenomenology) Color is the result of interaction between physical light in the environment and our visual system Wassily Kandinsky (1866-1944), Murnau Street with Women, 1908

Motivation Visual Descriptor (descriptions of the visual features of the contents) 11/1/2018 3

Principal Descriptor Visual Descriptor (descriptions of the visual features of the contents) SHAPE 11/1/2018 4

Principal Descriptor Visual Descriptor (descriptions of the visual features of the contents) SHAPE 11/1/2018 5

Principal Descriptor Visual Descriptor (descriptions of the visual features of the contents) SHAPE COLOR 11/1/2018 6

Principal Descriptor H.R. Pourreza

Principal Descriptor H.R. Pourreza

Principal Descriptor Visual Descriptor (descriptions of the visual features of the contents) SHAPE COLOR Color is a powerful descriptor that often simplifies object identification and extraction from a scene. 11/1/2018 9

Principal Descriptor Visual Descriptor (descriptions of the visual features of the contents) SHAPE COLOR TEXTURE 11/1/2018 10

Principal Descriptor Visual Descriptor SHAPE COLOR TEXTURE MOTION 11/1/2018 11

Discerning Color ~1000 ~24

Motivation Color is principal descriptor Ability to discern thousands of colors 11/1/2018 13

Color Image Processing Two majors areas Full color processing

Color Image Processing Two majors areas Full color processing

Color Image Processing Two majors areas Full color processing Color image

Color Image Processing Two majors areas Full color processing Psuedocolor processing

Color Image Processing Two majors areas Full color processing Psuedocolor processing Intensity values Thermal Camera

Color Image Processing Two majors areas Full color processing Psuedocolor processing Thermal Camera

Color Image Processing Two majors areas Full color processing Psuedocolor processing Assign values Thermal Camera Color image

Color fundamentals Physical phenomenon Physical nature of color can be expressed on formal basis (using experiments and theoretical results) Physio-psychological phenomenon How human brain perceive and interpret color?

Color Fundamentals 1666, Isaac Newton 11/1/2018 22

Color Fundamentals Six broad regions, each blends into the next smoothly. 11/1/2018 23

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

Color fundamentals (cont.) Balanced in all visible wavelengths white Absorbs all light black Limited range of visible spectrum color shade 500 to 570 nm Green object Illumination source scene eye reflection

Characterization of Light Acromatic light has only intensity (or amount) (void of color) Black and white television Gray level: scalar measure of intensity Chromatic light span the electromagnetic spectrum (EM) from 400 to 700 nm

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

Color Fundamentals Cones are the sensors in the eye that are responsible for color vision 6 to 7 million cones in the human eye Can be divided into three principal sensing categories, corresponding roughly to red, green, and blue. 65%: red 33%: green 2%: blue (blue cones are the most sensitive) 11/1/2018 28

Color Fundamentals 11/1/2018 29

Primary colors Due to the absorption characteristics of human eye, Primary colors: Red Green Blue Color: described as a variable combination of the primary 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

11/1/2018 31

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

11/1/2018 33

Application of additive nature of light Color TV colors

Application of subtractive color model Printers: the usual primary colors are cyan, magenta and yellow (CMY) Cyan serves as a filter that absorbs red Amount of cyan applied controls how much of the red in white light will be reflected back Cyan is completely transparent to green and blue light and has no effect on those parts of the spectrum

Application of subtractive color model Magenta is the complement of green, and yellow the complement of blue. Combinations of different amounts of the three can produce a wide range of colors with good saturation.

Color Fundamentals The characteristics generally used to distinguish one color from another are brightness, hue, and saturation brightness: the achromatic notion of intensity. hue: dominant wavelength in a mixture of light waves, represents dominant color as perceived by an observer. saturation: relative purity or the amount of white light mixed with its hue. 11/1/2018 37

Why specify color numerically? Accurate color reproduction is commercially valuable Many products are identified by color Few color names are widely recognized by English speakers - About 10; other languages have fewer/more, but not many more. It s common to disagree on appropriate color names. Color reproduction problems increased by prevalence of digital imaging - eg. digital libraries of art. How do we ensure that everyone sees the same color?

slide from T. Darrel

slide from T. Darrel

slide from T. Darrel

slide from T. Darrel

slide from T. Darrel

slide from T. Darrel

slide from T. Darrel

slide from T. Darrel

slide from T. Darrel

The principle of trichromacy Experimental facts: Three primaries will work for most people if we allow subtractive matching Exceptional people can match with two or only one primary. This could be caused by a variety of deficiencies. Most people make the same matches. There are some anomalous trichromats, who use three primaries but make different combinations to match.

Grassman s Laws Color matching is (approximately) linear symmetry: U=V <=>V=U transitivity: U=V and V=W => U=W proportionality: U=V <=> tu=tv additivity: if any two (or more) of the statements U=V, W=X, (U+W)=(V+X) are true, then so is the third These statements are as true as any biological law. They mean that color matching under these conditions is linear.

slide from T. Darrel

slide from T. Darrel

CIE RGB Tri-stimulus values: Color defined by three value (R,G,B) The amount of Red, Green and Blue needed to form any particular color

CIE XYZ New color matching functions were to be everywhere greater than or equal to zero. For the constant energy white point, it was required that x = y = z = 1/3.

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

CIE Chromaticity Diagram It shows color composition as a function of x (red) and y (green) 11/1/2018 56

CIE Chromaticity Diagram 1. For any value of x, y the value of z can be obtained using z = 1 x + y 11/1/2018 57

CIE Chromaticity Diagram 1. For any value of x, y the value of z can be obtained using z = 1 x + y Green: 62% Red: 25% Blue: (1- (62+25))= 13% 11/1/2018 58

CIE Chromaticity Diagram 1. For any value of x, y the value of z can be obtained using z = 1 x + y 2. Boundary various spectrum colors (violet to red) 11/1/2018 59

CIE Chromaticity Diagram 1. For any value of x, y the value of z can be obtained using z = 1 x + y 2. Boundary various spectrum colors (violet to red) Pure colors 11/1/2018 60

CIE Chromaticity Diagram 1. For any value of x, y the value of z can be obtained using z = 1 x + y 2. Boundary various spectrum colors (violet to red) 3. Any point inside the boundary is some mixture of spectrum colors 11/1/2018 61

CIE Chromaticity Diagram 1. For any value of x, y the value of z can be obtained using z = 1 x + y 2. Boundary various spectrum colors (violet to red) 3. Any point inside the boundary is some mixture of spectrum colors 4. Point of equal energy (white) 11/1/2018 62

CIE Chromaticity Diagram 1. For any value of x, y the value of z can be obtained using z = 1 x + y 2. Boundary various spectrum colors (violet to red) 3. Any point inside the boundary is some mixture of spectrum colors 4. Point of equal energy (white) 5. Saturation Boundary to point of equal energy 11/1/2018 63

CIE Chromaticity Diagram Fully saturated 1. For any value of x, y the value of z can be obtained using z = 1 x + y 2. Boundary various spectrum colors (violet to red) 3. Any point inside the boundary is some mixture of spectrum colors 4. Point of equal energy (white) 5. Saturation Boundary to point of equal energy zero saturated 11/1/2018 64

Color mixing using CIE Chromaticity Diagram 1. Line joining two points: all possible colors possible by combining the two colors 11/1/2018 65

Color mixing using CIE Chromaticity Diagram 1. Line joining two points: all possible colors possible by combining the two colors 11/1/2018 66

Color mixing using CIE Chromaticity Diagram 1. Line joining two points: all possible colors possible by combining the two colors 2. Extend to three points: 11/1/2018 67

Color mixing using CIE Chromaticity Diagram 1. Line joining two points: all possible colors possible by combining the two colors 2. Extend to three points: Any color in the triangle can be obtained by combing the three vertices 11/1/2018 68

Color mixing using CIE Chromaticity Diagram 1. Line joining two points: all possible colors possible by combining the two colors 2. Extend to three points: Any color in the triangle can be obtained by combing the three vertices No three points that encompass the entire gamut of colors. 11/1/2018 69

Color mixing using CIE Chromaticity Diagram 1. Line joining two points: all possible colors possible by combining the two colors 2. Extend to three points: Any color in the triangle can be obtained by combing the three vertices No three points that encompass the entire gamut of colors. All colors cannot be created by adding R, G and B 11/1/2018 70

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 11/1/2018 72

RGB Color Model Pixel depth The total number of colors in a 24-bit RGB image is (2 8 ) 3 = 16,777,216 11/1/2018 73

11/1/2018 74

Safe RGB colors (or safe Web colors) are reproduced faithfully, reasonably independently of viewer hardware capabilities 11/1/2018 75

11/1/2018 76

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

The CMY and CMYK Color Models C 1 R M 1 G Y 1 B Equal amounts of the pigment primaries, cyan, magenta, and yellow should produce black. In practice, combining these colors for printing produces a muddy-looking black. To produce true black, the predominant color in printing, the fourth color, black, is added, giving rise to the CMYK color model. 11/1/2018 78

CMY vs. CMYK 11/1/2018 79 http://en.wikipedia.org/wiki/cmyk