notes_Image Enhancement in Frequency Domain(2).ppt

PriyadharsiniR2 47 views 63 slides Sep 10, 2024
Slide 1
Slide 1 of 63
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34
Slide 35
35
Slide 36
36
Slide 37
37
Slide 38
38
Slide 39
39
Slide 40
40
Slide 41
41
Slide 42
42
Slide 43
43
Slide 44
44
Slide 45
45
Slide 46
46
Slide 47
47
Slide 48
48
Slide 49
49
Slide 50
50
Slide 51
51
Slide 52
52
Slide 53
53
Slide 54
54
Slide 55
55
Slide 56
56
Slide 57
57
Slide 58
58
Slide 59
59
Slide 60
60
Slide 61
61
Slide 62
62
Slide 63
63

About This Presentation

Edges and fine detail in images are associated with high frequency components hence image sharpening can achieved in the frequency domain by highpass filtering, which attenuates the low frequency components without disturbing high frequency information in the Fourier transform.


Slide Content

Image Enhancement in Frequency DomainImage Enhancement in Frequency Domain
09/10/24 1

Introduction
09/10/24 2

Background (Fourier Series)
ï‚§Any function that periodically repeats itself can be
expressed as the sum of sines and cosines of
different frequencies each multiplied by a different
coefficient
ï‚§This sum is known as Fourier Series
ï‚§It does not matter how complicated the function is;
as long as it is periodic and meet some mild
conditions it can be represented by such as a sum
ï‚§It was a revolutionary discovery
09/10/24 3

09/10/24 4

Background (Fourier Transform)
ï‚§Even functions that are not periodic but Finite can be
expressed as the integrals of sines and cosines multiplied
by a weighing function
ï‚§This is known as Fourier Transform
ï‚§A function expressed in either a Fourier Series or
transform can be reconstructed completely via an inverse
process with no loss of information
ï‚§This is one of the important characteristics of these
representations because they allow us to work in the
Fourier Domain and then return to the original domain of
the function
09/10/24 5

Fourier Transform
•‘Fourier Transform’ transforms one function into
another domain , which is called the frequency
domain representation of the original function
•The original function is often a function in the
Time domain
•In image Processing the original function is in the
Spatial Domain
•The term Fourier transform can refer to either the
Frequency domain representation of a function or
to the process/formula that "transforms" one
function into the other.
09/10/24 6

Our Interest in Fourier Transform
•We will be dealing only with functions (images) of
finite duration so we will be interested only in Fourier
Transform
09/10/24 7

Applications of Fourier Transforms
ï‚§1-D Fourier transforms are used in Signal Processing
ï‚§2-D Fourier transforms are used in Image Processing
ï‚§3-D Fourier transforms are used in Computer Vision
Applications of Fourier transforms in Image processing: –
–Image enhancement,
–Image restoration,
–Image encoding / decoding,
–Image description
09/10/24 8

One Dimensional Fourier Transform
and its Inverse
ï‚§The Fourier transform F (u) of a single variable, continuous
function f (x) is
ï‚§Given F(u) we can obtain f (x) by means of the Inverse
Fourier Transform
09/10/24 10

Discrete Fourier Transforms (DFT)
1-D DFT for M samples is given as
The Inverse Fourier transform in 1-D is given as
09/10/24 11

Discrete Fourier Transforms (DFT)
1-D DFT for M samples is given as
The inverse Fourier transform in 1-D is given as
09/10/24 12

Two Dimensional Fourier Transform
and its Inverse
ï‚§The Fourier transform F (u,v) of a two variable, continuous
function f (x,y) is
ï‚§Given F(u,v) we can obtain f (x,y) by means of the Inverse
Fourier Transform
09/10/24 13

2-D DFT
09/10/24 14

Fourier Transform
09/10/24 15

2-D DFT
09/10/24 16

09/10/24 17
Shifting the Origin to the Center

09/10/24 18
Shifting the Origin to the Center

09/10/24 19
Properties of Fourier Transform
ï‚§As we move away from the origin in F(u,v) the lower
frequencies corresponding to slow gray level changes
ï‚§Higher frequencies correspond to the fast changes in gray
levels (smaller details such edges of objects and noise)
ï‚§The direction of amplitude change in spatial domain and the
amplitude change in the frequency domain are orthogonal
(see the examples)

09/10/24 20
Properties of Fourier Transform
The Fourier Transform pair has the following translation property

09/10/24 21
Properties of Fourier Transform

09/10/24 22
Properties of Fourier Transform

09/10/24 23
DFT Examples

09/10/24 24
DFT Examples

09/10/24 25
Properties of Fourier Transform

09/10/24 26
Properties of Fourier Transform

09/10/24 27
Properties of Fourier Transform
ï‚§The lower frequencies corresponds to slow
gray level changes
ï‚§Higher frequencies correspond to the fast
changes in gray levels (smaller details such
edges of objects and noise)

09/10/24 28
Filtering using Fourier Transforms

09/10/24 29
Example of Gaussian LPF and HPF

09/10/24 30
Filters to be Discussed

09/10/24 31
Low Pass Filtering
A low-pass filter attenuates high frequencies and retains low
frequencies unchanged. The result in the spatial domain is
equivalent to that of a smoothing filter; as the blocked high
frequencies correspond to sharp intensity changes, i.e. to the
fine-scale details and noise in the spatial domain image.

09/10/24 32
High Pass Filtering
A high pass filter, on the other hand, yields edge enhancement
or edge detection in the spatial domain, because edges contain
many high frequencies. Areas of rather constant gray level
consist of mainly low frequencies and are therefore
suppressed.

09/10/24 33
Band Pass Filtering
A bandpass attenuates very low and very high frequencies, but
retains a middle range band of frequencies. Bandpass filtering
can be used to enhance edges (suppressing low frequencies)
while reducing the noise at the same time (attenuating high
frequencies).
Bandpass filters are a combination of both lowpass and
highpass filters. They attenuate all frequencies smaller than a
frequency Do and higher than a frequency D1 , while the
frequencies between the two cut-offs remain in the resulting
output image.

09/10/24 34
Ideal Low Pass Filter
D(u,v)= distance between a point (u,v) in the frequency
domain and the center of the frequency rectangle

09/10/24 37
Ideal Low Pass Filter

09/10/24 38
Ideal Low Pass Filter (example)

09/10/24 39
Why Ringing Effect

09/10/24 40
Butterworth Low Pass Filter

09/10/24 41
Butterworth Low Pass Filter

09/10/24 42
Butterworth Low Pass Filter (example)

09/10/24 43
Gaussian Low Pass Filters

09/10/24 44
Gaussian Low Pass Filters

09/10/24 45
Gaussian Low Pass Filters (example)

09/10/24 46
Gaussian Low Pass Filters (example)

09/10/24 48
Sharpening Fourier Domain Filters

09/10/24 49
Sharpening Spatial Domain Representations

09/10/24 50
Sharpening Fourier Domain Filters (Examples)

09/10/24 51
Sharpening Fourier Domain Filters (Examples)

09/10/24 52
Sharpening Fourier Domain Filters (Examples)

09/10/24 53
Laplacian in Frequency Domain

09/10/24 54
Unsharp Masking, High Boost Filtering

09/10/24 55
Example of Modified High Pass Filtering

09/10/24 56
Homomorphic Filtering

09/10/24 57
Homomorphic Filtering

09/10/24 58
Homomorphic Filtering

09/10/24 59
Homomorphic Filtering

09/10/24 60
Homomorphic Filtering (Example)

09/10/24 61
Basic Filters
And scaling rest of values.

09/10/24 62
Example (Notch Function)

Any question
Tags