Nguyễn Công Phương

DIGITAL IMAGE PROCESSING

Image Acquisition, Types, and File I/O

Contents

Introduction to Image Processing & Matlab Image Acquisition, Types, & File I/O Image Arithmetic

Image Transform Spatial & Frequency Domain Filter Design Image Restoration & Blind Deconvolution

Binary Image Processing Image Encryption & Watermarking Image Classification & Segmentation

I. II. III. IV. Affine & Logical Operations, Distortions, & Noise in Images V. VI. VII. VIII. Image Compression IX. Edge Detection X. XI. XII. XIII. Image – Based Object Tracking XIV. Face Recognition XV. Soft Computing in Image Processing

sites.google.com/site/ncpdhbkhn

2

Image Acquisition, Types, and File I/O

1. Image Acquisition 2. Image Types & File I/O 3. Basics of Color Images

sites.google.com/site/ncpdhbkhn

3

Image Acquisition

• Real – world 3D objects are converted into

digital images: – Cameras – Ultrasounds – X-rays & radiography – Magnetic resonance imaging (MRI) – Satellite imagers

• Scanners.

sites.google.com/site/ncpdhbkhn

4

Image Types & File I/O

• Image types:

– Bitmap (.bmp) – Joint Photographic Experts Group (.jpg) – Graphics Interchange Format (.gif) – Tagged Image File Format (.tif) – … • File I/O:

– Read: imread – Show: imshow – Write: imwrite

sites.google.com/site/ncpdhbkhn

5

Basic of Color Images (1)

http://drmoron.org/is‐black‐a‐color/

sites.google.com/site/ncpdhbkhn

6

Basic of Color Images (2)

76 50

68 49

  

  

106 110   91 73 

  

98

71

116 111      

sites.google.com/site/ncpdhbkhn

7

Basic of Color Images (3)

https://andrewharvey4.wordpress.com/2009/08/22/comp3421‐lec‐1‐colour/

sites.google.com/site/ncpdhbkhn

8

Basic of Color Images (4)

YIQ Color Space

Y R 0.299 0.587 0.144

0.596 0.275 0.321 I G  

R G

0.9736 0.9675

0.9873 0.2385

0.5682 0.6941

Y I

B

0.9789

1.0779

 1.6497

Q

    

    

    

         

    

sites.google.com/site/ncpdhbkhn

9

0.212 0.528  0.311 Q B                               