Docsity

Digital Image Processing: Color, Segmentation, and Edge Detection, Cheat Sheet of Digital Image Processing

Partial preview of the text

Download Digital Image Processing: Color, Segmentation, and Edge Detection and more Cheat Sheet Digital Image Processing in PDF only on Docsity!

July 1, 2021 Digital Image Processing, Lecturer 1

Digital Image Processing Digital Image Processing

Lecture #4 Lecture #

Dr. Md. Hasanuzzaman

Professor

Department of Computer Science & Engineering

Dhaka University

July 1, 2021 Digital Image Processing, Lecturer 2 Contents Contents

Color Coordinate System

Color Conversion System

Color Based Segmentation

Line and Edge Detection

July 1, 2021 Digital Image Processing, Lecturer 4 YIQ Components YIQ Components

Y=Luminance Component

I,Q=Chrominance components

Y, I, Q are different for different persons

skin colors.

July 1, 2021 Digital Image Processing, Lecturer 5

RGB to YIQ Conversion RGB to YIQ Conversion

• RGB images converted to YIQ color coordinate

systems using linear transformation matrix

Y R

I G

Q B

Example: Y=0.299R+0.587G+0.114B

July 1, 2021 Digital Image Processing, Lecturer 7 I-component I-component

July 1, 2021 Digital Image Processing, Lecturer 8 Q-component Q-component

July 1, 2021 Digital Image Processing, Lecturer 10

Results of Skin Region Results of Skin Region

Segmentation Segmentation

Without person-specific skin-color thresholds

July 1, 2021 Digital Image Processing, Lecturer 11

Results of Skin Region Results of Skin Region

Segmentation Segmentation

Using person-specific skin-color thresholds

July 1, 2021 Digital Image Processing, Lecturer 13 Example of Face Detection Example of Face Detection (1) (1)

July 1, 2021 Digital Image Processing, Lecturer 14 Example of Face Detection Example of Face Detection (2) (2)

July 1, 2021 Digital Image Processing, Lecturer 16 HSV Color Coordinates HSV Color Coordinates  

cos

2 1 1          

R G R B G B
R G R B
H

, ( 2 ) 255 max( , , ) , max( , , ) max( , , ) min( , , ) R G B V R G B R G B R G B S    360 ;

H   H

July 1, 2021 Digital Image Processing, Lecturer 17 Example of Hand-Gesture Example of Hand-Gesture Recognition Recognition

July 1, 2021 Digital Image Processing, Lecturer 19 Example of Edge Detection Example of Edge Detection (2) (2)

July 1, 2021 Digital Image Processing, Lecturer 20 List of Reference Books List of Reference Books

Rafael C. Gonzalez, “Digital Image Processing”.

Anil K. Jain, “Fundamental of Digital Image

Processing”.

Dana H. Ballard, “Computer Vision”

David H. Hubel, “Eye, Brain, and Vision”

Dwayne Phillips, “Image Processing in C”