digital image processing fundamental

30
DIGITAL IMAGE PROCESSING PART I Thuong Nguyen 1

Upload: nguyen-canh-thuong

Post on 07-May-2015

6.150 views

Category:

Technology


2 download

DESCRIPTION

The several fundamental of DIP

TRANSCRIPT

Page 1: Digital Image Processing Fundamental

1

DIGITAL IMAGE PROCESSINGPART IThuong Nguyen

Page 2: Digital Image Processing Fundamental

2

CONTENT

Digital image fundamentals Image transform Image enhancement Image restoration Image compression

Page 3: Digital Image Processing Fundamental

3

I. DIGITAL FUNDAMENTAL

Digital Image Processing System Sampling and Quantization Relationships between pixels

Page 4: Digital Image Processing Fundamental

4

DIP SYSTEM

Page 5: Digital Image Processing Fundamental

5

DIP SYSTEM

Page 6: Digital Image Processing Fundamental

6

DIP SYSTEM

Page 7: Digital Image Processing Fundamental

7

SAMPLING AND QUANTIZATION

Quantization: limit of intensity resolution Sampling: Limit of spatial and temp resolution

Uniform and non-uniform

Thuong Nguyen
explan
Page 8: Digital Image Processing Fundamental

8

PIXEL’S RELATIONSHIPS

Two pixel are adjacent if Neighbors as 4, 8, and m-connectivity Gray levels satisfy a specified criterion

Connectivity Existing a path between two pixels

Path Path from p(x,y) to q(s,t) is

Where (x, y) = (x0, y0), (s, t) = (xn, yn)(x0, y0), (x1, x2), …, (xn, yn)

Page 9: Digital Image Processing Fundamental

9

II. IMAGE ENHANCEMENT IN FREQ DOMAIN

Discrete Fourier Transform Other Image Transform Hotelling Transform

Page 10: Digital Image Processing Fundamental

10

THE DISCRETE FOURIER TRANSFORM

The Fourier transform 1-D 2-D

Properties

Page 11: Digital Image Processing Fundamental

11

THE DISCRETE FOURIER TRANSFORM Discrete Fourier transform pair

One dimensional

Two dimensional

Page 12: Digital Image Processing Fundamental

12

THE DISCRETE FOURIER TRANSFORM

2D FFT and Image Processing

Page 13: Digital Image Processing Fundamental

13

THE DISCRETE FOURIER TRANSFORM

1. Multiply input image by 2. Compute , DFT3. Multiply by

4. Compute IDFT5. Obtain the real part6. Multiply the result by

Fast Fourier transform Efficient algorithm to compute DFT by reduce computation

burden: O(N2) – O(NlogN)

Page 14: Digital Image Processing Fundamental

14

OTHER SEPARABLE IMAGE TRANSFORM

General relation ship

Several condition Separable Symmetric

Separable kernel can be compute in two step of 1D transf

For separable and symmetric kernel

Page 15: Digital Image Processing Fundamental

15

OTHER SEPARABLE IMAGE TRANSFORM

Walsh Transform

Hadamard transform

Discrete cosine transform

Page 16: Digital Image Processing Fundamental

16

HOLTELLING TRANSFORM

1

2

.

.

n

x

x

x

x

1

1{ }

M

x kk

m E x xM

x,........,

M data points

1 M

1

1{( )( ) }

MT TT

x x x k k k kk

C E x m x m x x m mM

Mean:

Covariance:

Page 17: Digital Image Processing Fundamental

17

III. IMAGINE ENHANCEMENT

Basic intensity functions Histogram processing Spatial Filtering Enhancement in the Frequency domain Color image processing

Page 18: Digital Image Processing Fundamental

18

BASIC INTENSITY FUNCTIONS

Spatial domain process

Image negatives: intensity level in the range [0, L-1] s = L – 1 – r

Log trans s = c log(1 + r)

Power law (gramma) trans s = c r

Piecewise-Linear Trans Contrast stretching Intensity level slicing Bit plane slicing

Page 19: Digital Image Processing Fundamental

19

HISTOGRAM PROCESSING

Histogram Histogram equalization: Histogram matching Local histogram processing

Image subtraction Image averaging

Page 20: Digital Image Processing Fundamental

20

SPATIAL FILTERING Fundamental: using spatial masks for Image Processing

Smoothing Filter Lowpass spatial filtering Meadian filtering

Page 21: Digital Image Processing Fundamental

21

SPATIAL FILTERING Sharpening filter

Highpass spatial filtering Emphasize fine details

High-boost filtering Enhance high freq while keeping the low freq Highboost = (A-1) original + Highpass

Derivative filters First order: gradient

Second order

Page 22: Digital Image Processing Fundamental

22

ENHANCEMENT IN THE FREQUENCY DOMAIN

Spatial domain Definition

Chang pixel position changes in the scene

Distance is real

Processing Directly process the input image

pixel array

Frequency domain Definition

Change in image position changes in spatial frequency

Which image intensity values are changing in the spatial domain image

Processing Transform the image to its frequency

representation Perform image processing compute

Page 23: Digital Image Processing Fundamental

23

ENHANCEMENT IN THE FREQUENCY DOMAIN

Lowpass filter Ideal

Butterword

Highpass filter Ideal

Butterworth

Homomorphic

Page 24: Digital Image Processing Fundamental

24

COLOR IMAGE PROCESSING

Background Human can perceive thousands of colors Two major area: full color and pseudo color Color quantization: 8-bit or 24bit

Color fundamental Result of light in the rentina: 400-700nm Characterization of light: monochromatic and gray level

Radiance: total amount of energy emitted by light source Brightness: intensity Luminance: amount of energy perceived by obervers, in lumens

Color characters Hue Saturation Birghtness

Page 25: Digital Image Processing Fundamental

25

IV. IMAGE RESTORATION

Degradation Model Diagonalization of Circulant & Block-Circulant Matrices Algebraic Approach Inverse Filtering Weiner Filter Constrained LS Restoration Interactive Restoration Restoration at Spatial Domain Geometric transform

Page 26: Digital Image Processing Fundamental

26

Noise models Spatial and frequency properties Noise PDF: Gaussian, Rayleigh, Erlang, Exponential, Uniform,

Impulse .. Estimate noise parameters:

Spectrum inspection: periodic noise Test image: mean, variance and histogram shape, if imaging system is

available

De-noising Spatial filtering ( for additive noise)

Mean filters Order-statistics filters Adaptive filters:

Frequency domain filtering (for periodic noise)

DEGRADATION MODEL

Page 27: Digital Image Processing Fundamental

27

V. IMAGE COMPRESSION

Fundamentals Image Compression Models Elements of Information Theory Error-Free Compression Lossy Compression Image Compression standard

Page 28: Digital Image Processing Fundamental

28

VI. IMAGE SEGMENTATION

Detection of Discontiuties Edge Linking and Boundary Detection Thresholding Region-Oriented Segmentation Motion in Segmentation

Page 29: Digital Image Processing Fundamental

29

VII. REPRESENTATION AND DESCRIPTION

Representation Scheme Boundary Descriptors Regional Descriptors Morphology Relational Descriptors

Page 30: Digital Image Processing Fundamental

30

VIII. RECOGNITION AND INTERPRETATION

Elements of Image Analysis Patterns and Pattern Classes Decision-Theoretic Methods Structural Methods Interpretation