Digital Image Processing COSC 6380/4393

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

Color Image Processing

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

Color Image Processing. Jen-Chang Liu, Spring 2006

6 Color Image Processing

Chapter 3 Part 2 Color image processing

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

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

Digital Image Processing. Lecture # 8 Color Processing

Color Image Processing EEE 6209 Digital Image Processing. Outline

Color Image Processing. Gonzales & Woods: Chapter 6

Chapter 6: Color Image Processing. Office room : 841

Color Image Processing II

Digital Image Processing

Color Image Processing

Image and video processing

Digital Image Processing Color Models &Processing

Color Image Processing

CHAPTER 6 COLOR IMAGE PROCESSING

Unit 8: Color Image Processing

Digital Image Processing (DIP)

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

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

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

Digital Image Processing Chapter 6: Color Image Processing ( )

Digital Image Processing Chapter 6: Color Image Processing

Color Transformations

Lecture 8. Color Image Processing

Reading instructions: Chapter 6

Lecture 3: Grey and Color Image Processing

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

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

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

Digital Image Processing

INSTITUTIONEN FÖR SYSTEMTEKNIK LULEÅ TEKNISKA UNIVERSITET

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

Color images C1 C2 C3

Digital Image Processing Chapter 6: Color Image Processing ( )

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

EECS490: Digital Image Processing. Lecture #12

Figure 1: Energy Distributions for light

Interactive Computer Graphics

The Principles of Chromatics

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

Afdeling Toegepaste Wiskunde/ Division of Applied Mathematics Colour image processing(6.4 and 6.5) SLIDE 1/10

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

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

Introduction. The Spectral Basis for Color

VC 16/17 TP4 Colour and Noise

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

Lecture Color Image Processing. by Shahid Farid

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

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

Color Image Processing

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

MODULE 4 LECTURE NOTES 1 CONCEPTS OF COLOR

Color image processing

PERCEIVING COLOR. Functions of Color Vision

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

What is Color. Color is a fundamental attribute of human visual perception.

COLOR and the human response to light

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

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

Color images C1 C2 C3

Image acquisition. Midterm Review. Digitization, line of image. Digitization, whole image. Geometric transformations. Interpolation 10/26/2016

COLOR. and the human response to light

Wireless Communication

Color Science. CS 4620 Lecture 15

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

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

Chapter 2 Fundamentals of Digital Imaging

Computer Graphics Si Lu Fall /27/2016

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

Digital Image Processing

Color Image Processing

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

PRACTICAL IMAGE AND VIDEO PROCESSING USING MATLAB

Colors in Images & Video

Introduction to Computer Vision and image processing

any kind, you have two receptive fields, one the small center region, the other the surround region.

CMPSCI 670: Computer Vision! Color. University of Massachusetts, Amherst September 15, 2014 Instructor: Subhransu Maji

Imaging Process (review)

Continued. Introduction to Computer Vision CSE 252a Lecture 11

Mahdi Amiri. March Sharif University of Technology

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

Introduction to Multimedia Computing

Color Appearance, Color Order, & Other Color Systems

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

Color. Some slides are adopted from William T. Freeman

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

Image Processing: An Overview

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

Introduction & Colour

Color Computer Vision Spring 2018, Lecture 15

Color. Chapter 6. (colour) Digital Multimedia, 2nd edition

DIGITAL IMAGE PROCESSING UNIT III

Color vision and representation

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

Color. Phillip Otto Runge ( )

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

Transcription:

Digital Image Processing COSC 6380/4393 Lecture 21 Nov 1 st, 2018 Pranav Mantini Acknowledgment: Slides from Pourreza

Projects Project team and topic assigned Project proposal presentations : Nov 6 th (Tue) and 8 th (Thu)

Project proposal Schedule Proposals presentation 5 Pts Team No. Team Name Topic Proposal A1 Internationals United image restoration Nov 6th A2 MMFSN Geometric Transformation Nov 6th A3 Nearest Neighbors Intensity Transformation Nov 6th A4 KANE Spatial Filtering Nov 6th A5 Fans of Lenna! Frequency Filtering Nov 6th A6 Team A6 Restoration Nov 8th A7 Team DIP Morphology Nov 8th A8 PyCharmers Color Image Processing Nov 8th A9 Team A9 Morphology Nov 8th A10 IDK Spatial Filtering Nov 8th

Project proposal Schedule Proposals presentation 5 Pts Team No. Team Name Topic Proposal B1 First Row Restoration Nov 6th B2 404-Image not Found Geometric Transformation Nov 6th B3 Image-ine Dragons Intensity Transformation Nov 6th B4 TeamPixels Spatial Filtering Nov 6th B5 Team B5 Frequency Filtering Nov 6th B6 Crazy Thinkers Morphology Nov 8th B7 Team B7 Color Image Processing Nov 8th B8 Team B8 Restoration Nov 8th B9 Black Panther Spatial Filtering Nov 8th

Project Proposal Presentations Nov 6 th (Tue) and 8 th (Thu) Schedule will be on class website (Nov 1 st ) Time: Presentation: 5-7 Mins Q and A: 3 Mins Total: ~10 Mins

Project Proposal Presentations 1. Topic and objectives 1. What is your topic? 2. What sub topics do you plan to implement? 3. What are your objectives? 2. Hand Sketches of GUI 1. Sketches of how you want the GUI to look (Hand draws, Photoshop) 3. Member responsibility 1. Who is responsible for what? 4. Implementation and reuse 1. What functionality do you plan to implement? 2. What inbuilt functions do you plan to use? 3. What inbuilt functions you do not plan to use?

Today Review HIS Color space Color Image Processing Psuedo Color Image Processing Full Color Image Processing

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

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

Discerning Color ~1000 ~24

Color Fundamentals Cones are the sensors in the eye that are responsible for color vision 6 to 7 million cones in the human eye 11/1/2018 11

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

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) Identify color, Color mixing 11/1/2018 17

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 19

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 20

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

HSI color model Will you describe a color using its R, G, B components? Human describe a color by its hue, saturation, and brightness Hue: color attribute Saturation: purity of color (white->0, primary color->1) Brightness: achromatic notion of intensity

HIS Color Model 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 23

HIS Color Model 11/1/2018 24

HIS Color Model 11/1/2018 25

HIS Color Model 11/1/2018 26

Converting Colors from RGB to HSI Given an image in RGB color format, the H component of each RGB pixel is obtained using the equation H if B G 360 if B>G 1 cos 2 1/2 1 ( R G ) ( R B ) 2 R G ( R B)( G B) 11/1/2018 27

Converting Colors from RGB to HSI Given an image in RGB color format, the saturation component is given by S 3 1 min( R, G, B) ( R G B) 11/1/2018 28

Converting Colors from RGB to HSI Given an image in RGB color format, the intensity component is given by 1 I R G B 3 11/1/2018 29

Converting Colors from HSI to RGB RG sector (0 H 120 ) B I(1 S) Scos H R I 1 cos(60 H ) and G 3 I ( R B) 11/1/2018 30

Converting Colors from HSI to RGB RG sector (120 H 240 ) H H 120 R I(1 S) Scos H G I 1 cos(60 H ) and B 3 I ( R G) 11/1/2018 31

Converting Colors from HSI to RGB RG sector (240 H 360 ) H H 240 G I(1 S) Scos H B I 1 cos(60 H ) and R 3 I ( G B) 11/1/2018 32

11/1/2018 34

11/1/2018 35

Pseudocolor Image Processing Pseudocolor (also called false color) image processing consists of assigning colors to gray values based on a specified criterion. The principal use of pseudocolor is for human visualization and interpretation of gray-scale events in an image or sequence of images. 1. Intensity Slicing 2. Gray Level to Color Transformations

Intensity Slicing

Intensity Slicing (con t)

Intensity Slicing (con t)

Intensity Slicing (con t)

Intensity Slicing (con t)

Gray Level to Color Transformations

Gray Level to Color Transformations Slide: nptelhrd

Gray Level to Color Transformations Slide: nptelhrd

Gray Level to Color Transformations H.R. Pourreza

Gray Level to Color Transformations

Basic of Full-Color Image Processing Major categories of full-color Image processing: Per-color-component processing Vector-based processing

Basic of Full Color Image Processing

B G R c c c c B G R Let c represent an arbitrary vector in RGB color space ), ( ), ( ), ( ), ( ), ( ), ( ), ( y x B y x G y x R y x c y x c y x c y x c B G R For an image of size M*N, Basic of Full Color Image Processing

Basic of Full-Color Image Processing Color Transformation Processing the components of a color image within the context of a single color model. g( x, y) T f ( x, y) r, r r 2,,, i 1,2 n si Ti 1 n,..., Color components of g Color components of f Color mapping functions

Full-Color Image Processing Color Transformation CMYK RGB HSI

Full-Color Image Processing Color Transformation: Modify the Intensity g( x, y) kf ( x, y) s i kr i i 1,2,3 s i kr i ( 1 k) i 1,2,3 s s s 1 2 3 r 1 r 2 kr 3

Full-Color Image Processing Color Transformation: Color Complement

Full-Color Image Processing Color Transformation: Color Complement

Full-Color Image Processing Color Transformation: Color Slicing Motive: Highlighting a specific range of colors in an image Basic Idea: Display the color of interest so that they stand out from background Use the region defined by the colors as a mask for further processing s i 0.5 ri if rj a j otherwise W 2 any1 jn, i 1,2,..., n

Full-Color Image Processing Color Transformation: Color Slicing 1. Colors of interest are enclosed by cube (or hypercube for n>3) s i 0.5 r i if r a otherwise j j W 2 any1 jn, i 1,2,..., n

Full-Color Image Processing Color Transformation: Color Slicing 1. Colors of interest are enclosed by cube (or hypercube for n>3) s i 0.5 r i if r a otherwise j j W 2 any1 jn, i 1,2,..., n 2. Colors of interest are enclosed by Sphere s i 0.5 r i if n j1 ( r otherwise j a j ) 2 R 2 0, i 1,2,..., n

Full-Color Image Processing Color Transformation: Color Slicing Cube Sphere

Full-Color Image Processing Color Image Smoothing Averaging: xy xy xy xy S y x S y x S y x S y x y x B K y x G K y x R K y x y x K y x ), ( ), ( ), ( ), ( ), ( 1 ), ( 1 ), ( 1 ), ( ), ( 1 ), (

Full-Color Image Processing Color Image Smoothing Red Green Blue

Full-Color Image Processing Color Image Smoothing Hue Saturation Intensity

Full-Color Image Processing Color Image Smoothing Averaging R,G and B Averaging Intensity Difference

Full-Color Image Processing Color Image Sharpening The Laplacian of Vector c : ), ( ), ( ), ( ), ( 2 2 2 2 y x B y x G y x R y x

Full-Color Image Processing Color Image Sharpening Sharpening R,G and B Sharpening Intensity Difference

Summary 1. Color Fundamentals 2. Color Spaces 3. Color Image Processing