SlideShare a Scribd company logo
Image Enhancement in the
Frequency Domain
Basic steps for filtering in the
frequency domain




                        2
Basics of filtering in the
     frequency domain
1.   multiply the input image by (-1)x+y to center the
     transform to u = M/2 and v = N/2 (if M and N are
     even numbers, then the shifted coordinates will be
     integers)
2.   computer F(u,v), the DFT of the image from (1)
3.   multiply F(u,v) by a filter function H(u,v)
4.   compute the inverse DFT of the result in (3)
5.   obtain the real part of the result in (4)
6.   multiply the result in (5) by (-1)x+y to cancel the
     multiplication of the input image.


                                            3
Notch filter
• this filter is to force the F(0,0)
which is the average value of an
image (dc component of the
spectrum)
• the output has prominent edges
• in reality the average of the
displayed image can’t be zero as
it needs to have negative gray
levels. the output image needs to
scale the gray level
                                  0 if (u, v) = (M/2, N/2 )
                      H (u , v) = 
                                  1 otherwise4
Low pass filter




high pass filter




5
Add the ½ of filter height to
F(0,0) of the high pass filter




                        6
Correspondence between filter
in spatial and frequency domains




                       7
Smoothing Frequency-domain
filters: Ideal Lowpass filter




                       8
image power circles




                      9
Result of ILPF




                 10
Example




          11
Butterworth Lowpass Filter:
BLPF




                      12
Example




          13
Spatial representation of BLPFs




                       14
Gaussian Lowpass Filter: GLPF




                       15
Example




          16
Example




          17
Example




          18
Example




          19
Sharpening Frequency Domain
           Filter:
            Ideal highpass filter

            0 if D(u, v) ≤ D 0
H (u , v) = 
            1 if D(u, v) > D 0
Butterworth highpass filter
                      1
H (u , v) =
            1 + [ D 0 D(u , v)]
                                2n




Gaussian highpass filter
                      − D 2 ( u ,v ) / 2 D0
                                          2
  H (u , v) = 1 − e


                                              20
Spatial representation of Ideal,
Butterworth and Gaussian highpass
filters




                        21
Example: result of IHPF




                    22
Example: result of BHPF




                    23
Example: result of GHPF




                    24
Laplacian in the Frequency
domain




                       25
Example: Laplacian filtered
image




                       26
Example: high-boost filter




                     27
Examples




           28
Homomorphic Filter




                     29
Result of Homomorphic filter




                      30
31
32
33
34
35
36
37
38
39
40
41
42

More Related Content

PPT
Spatial filtering
PPTX
Image Representation & Descriptors
PPTX
Image Enhancement using Frequency Domain Filters
PPT
Sharpening using frequency Domain Filter
PPTX
Digital Image restoration
PPTX
Unit3 dip
PPTX
Image Filtering in the Frequency Domain
PPSX
Image Processing: Spatial filters
Spatial filtering
Image Representation & Descriptors
Image Enhancement using Frequency Domain Filters
Sharpening using frequency Domain Filter
Digital Image restoration
Unit3 dip
Image Filtering in the Frequency Domain
Image Processing: Spatial filters

What's hot (20)

PPTX
Digital Image Processing
PPTX
PPTX
Line Detection using Hough transform .pptx
PPSX
Image Enhancement in Spatial Domain
PPTX
1.arithmetic & logical operations
PPT
08 frequency domain filtering DIP
PPTX
Dilation and erosion
PDF
Frequency Domain FIltering.pdf
PDF
Image sampling and quantization
PPTX
IMAGE SEGMENTATION.
PPTX
Transform coding
PPT
Chapter 5 Image Processing: Fourier Transformation
PPTX
Image Smoothing using Frequency Domain Filters
PPTX
Image filtering in Digital image processing
PDF
Digital Image Processing: Image Segmentation
PPTX
Noise
PPTX
Chapter 9 morphological image processing
PPT
Lec 07 image enhancement in frequency domain i
Digital Image Processing
Line Detection using Hough transform .pptx
Image Enhancement in Spatial Domain
1.arithmetic & logical operations
08 frequency domain filtering DIP
Dilation and erosion
Frequency Domain FIltering.pdf
Image sampling and quantization
IMAGE SEGMENTATION.
Transform coding
Chapter 5 Image Processing: Fourier Transformation
Image Smoothing using Frequency Domain Filters
Image filtering in Digital image processing
Digital Image Processing: Image Segmentation
Noise
Chapter 9 morphological image processing
Lec 07 image enhancement in frequency domain i
Ad

Similar to Enhancement in frequency domain (20)

PPTX
ch-2.5 Image Enhancement in FREQUENCY Domain.pptx
PPT
CSE6366_11(enhancement in frequency domain 2).ppt
PPT
digital image processing FrequencyFiltering.ppt
PPT
Image processing7 frequencyfiltering
PPT
Digital Image Processing Restoration UNIT-3.ppt
PPTX
Image processing 2
PPT
Image enhancement sharpening
PPTX
Frequency domain methods
PPT
Image Enhancement in Frequency Domain (2).ppt
PPT
notes_Image Enhancement in Frequency Domain(2).ppt
PPT
Unit1 image transform
PPTX
Module 3-DCT.pptxssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss...
PPT
notes_Image Enhancement in Frequency Domain(2).ppt
PPT
Frequency Domain Filtering 1.ppt
PDF
13 fourierfiltrationen
PPTX
Implementation and comparison of Low pass filters in Frequency domain
PPTX
Filtering an image is to apply a convolution
PDF
Frequency Image Processing
PDF
PPT s05-machine vision-s2
PPT
07 frequency domain DIP
ch-2.5 Image Enhancement in FREQUENCY Domain.pptx
CSE6366_11(enhancement in frequency domain 2).ppt
digital image processing FrequencyFiltering.ppt
Image processing7 frequencyfiltering
Digital Image Processing Restoration UNIT-3.ppt
Image processing 2
Image enhancement sharpening
Frequency domain methods
Image Enhancement in Frequency Domain (2).ppt
notes_Image Enhancement in Frequency Domain(2).ppt
Unit1 image transform
Module 3-DCT.pptxssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss...
notes_Image Enhancement in Frequency Domain(2).ppt
Frequency Domain Filtering 1.ppt
13 fourierfiltrationen
Implementation and comparison of Low pass filters in Frequency domain
Filtering an image is to apply a convolution
Frequency Image Processing
PPT s05-machine vision-s2
07 frequency domain DIP
Ad

More from Ashish Kumar (20)

PPT
Computer architecture
PPT
Lecture2 color
PPT
Introduction vision
PPT
Introduction image processing
PPT
Image pre processing-restoration
PPT
Image pre processing
PPT
Image pre processing - local processing
PPT
Enhancement in spatial domain
PPT
Digitized images and
PPT
Data structures
PPT
Lecture2 light
PPT
process management
PPT
resource management
PPT
distributed shared memory
PPT
message passing
PPT
remote procedure calls
PPT
PPT
Introduction image processing
PPT
system design
PPTX
video compression techique
Computer architecture
Lecture2 color
Introduction vision
Introduction image processing
Image pre processing-restoration
Image pre processing
Image pre processing - local processing
Enhancement in spatial domain
Digitized images and
Data structures
Lecture2 light
process management
resource management
distributed shared memory
message passing
remote procedure calls
Introduction image processing
system design
video compression techique

Enhancement in frequency domain