SlideShare a Scribd company logo
1 of 40
Image processing in frequency Domain
Department of Computer Science And Engineering
Shahjalal University of Science and Technology
Nashid Alam
Registration No: 2012321028
annanya_cse@yahoo.co.uk
Masters -2 Presentation
(Backup Slides# 6)
Introduction to Frequency domain
Deal with images in:
-Spatial domain
-Frequency domain
Difference between spatial domain and frequency domain
Spatial domain :
- Deal with images as it is.
- The value of the pixels of the image
change with respect to scene.
Frequency domain :
-Deal with the rate at which
the pixel values are changing in spatial
domain.
For simplicity , Let’s put it
this way.
DIFFERENCE BETWEEN SPATIAL
DOMAIN AND FREQUENCY DOMAIN
Directly deal with the image matrix.
For simplicity , Let’s put it
this way.
Image Processing in Frequency
Domain
o Transform the image to its frequency distribution.
o Black box system perform what ever processing it has to perform
oThe output of the black box is not an image ,
- The output it is a transformation.
o After performing inverse transformation
- The output is converted into an image
which is then viewed in spatial domain.
It can be pictorially viewed
Frequency Components
Any image in spatial domain can be represented
in a frequency domain.
But what do this frequencies actually mean?
Frequency components are divided into two major components.
1. HIGH FREQUENCY COMPONENTS
High frequency components correspond to edges in an image.
2. LOW FREQUENCY COMPONENTS
Low frequency components in an image correspond to smooth regions.
TRANSFORMATION
Transformation:
A signal can be converted from spatial domain
into frequency domain using mathematical operators called
transformation.
kind of transformation:
Fourier Series
Fourier transformation
Laplace transform
Z transform
Fourier Transform
Fourier Transform
f(m, n) is a function of two discrete spatial variables m and n,
Two-dimensional Fourier transform of f(m, n) :
The variables ω1 and ω2 are frequency variables
ω1 and ω2 both are periodic with period 2π
Where, -2π<= ω1 and 2π<= ω2
F(ω1,ω2 ) is often
called the
frequency-domain
representation of
f(m, n)
Fourier Transform
F(0,0 ) is the sum of all the values of f(m, n)
F(0,0 ) is often called the constant component or
DC component of the Fourier transform.
(DC stands for direct current:
It is an electrical engineering term that refers to a constant-voltage power source, as
opposed to a power source whose voltage varies sinusoidally.)
frequency-domain representation of f(m, n):
Fourier Transform
The inverse two-dimensional Fourier transform is given by:
This equation means that f(m, n) can be represented as:
A sum of an infinite number of
complex exponentials (sinusoids)
with different frequencies.
Example2D Fourier Transform
Consider a function f(m, n) :
1 within a rectangular region
0 everywhere else.
To simplify the diagram:
f(m, n) is shown as a continuous function, even
though the variables m and n are discrete
Example2D Fourier Transform
The magnitude of the Fourier transform, |F(ω1,ω2 )| is shown in mesh plot.
This reflects the fact:
-Horizontal cross sections of are narrow pulses,
vertical cross sections are broad pulses.
-Narrow pulses have more high-frequency
content than broad pulses.
Example2D Fourier Transform
The plot also shows :
More energy at high horizontal frequencies
Less energy at high vertical frequencies.
Example Of How To Do This
Is In Next Slide
Implemented example
Example
Relationship to 2D Fourier
transform with spatial image
Construct a matrix f that is similar to the function f(m, n)
f = zeros(30,30);
f(5:24,13:17) = 1;
imshow(f,'notruesize')
(b) Main Image
(Toy image Constriction)
in spatial domain
(c)Fourier transform of the
image(Frequency Domain)
(a) Toy Image
Example2D Fourier Transform
Main Image
in spatial domain
Orthogonal
Compute and visualize
the 30-by-30 DFT of f(m,n)
Target
Main Image
in spatial domain
Fourier transform
of the image
(Frequency Domain) Inverse
Fourier transform
(Going back to
Spatial domain)
Example2D Fourier Transform
Compute and visualize the 30-by-30 DFT of f(m,n)
F = fft2(f);
F2 = log(abs(F));
imshow(F2,[-1 5],'notruesize');
%% colormap(jet); colorbar
Example2D Fourier Transform
Doesn’t match
the target Fourier Transformed Image
The resolution is much lower
DC coefficient of F(0,0) is displayed
in the upper-left corner instead of
the traditional location in the center
(b) Target Fourier Transformed Image
(b) Visualize the 30-by-30 DFT
F(0,0) value is called DC coefficients
DC=Direct Current
Example2D Fourier Transform
The resolution is increased
by zero-padding f when computing its DFT.
Need more computation
%resolution is increased by zero-padding f
%zero-pads f to be 256-by-256 before
%computing the DFT
F = fft2(f,256,256);
Dealing with Resolution
Example2D Fourier Transform
DCT coefficients of Fourier transform are displayed much more finely
The result is :
(a) DCT result Before zero-padding (b) DCT result After zero-padding
(fine result)
Need more computation Dealing with Resolution
F = fft2(f,256,256);
Example2D Fourier Transform
Need more computation Dealing with displaying DC coefficient of F(0,0)
fix this problem by using the function fftshift,
which swaps the quadrants of F so that the DC
coefficient is in the center.
imshow(log(abs(F)),[-1 5]);
(b) Target Fourier Transformed Image
Example2D Fourier Transform
compute the inverse DFT
(a) Fourier transform
of the image
(Frequency Domain)
(b) Inverse
Fourier transform
(Going back to
Spatial domain)

More Related Content

What's hot

Image Filtering in the Frequency Domain
Image Filtering in the Frequency DomainImage Filtering in the Frequency Domain
Image Filtering in the Frequency DomainAmnaakhaan
 
SPATIAL FILTERING IN IMAGE PROCESSING
SPATIAL FILTERING IN IMAGE PROCESSINGSPATIAL FILTERING IN IMAGE PROCESSING
SPATIAL FILTERING IN IMAGE PROCESSINGmuthu181188
 
Image Enhancement in Spatial Domain
Image Enhancement in Spatial DomainImage Enhancement in Spatial Domain
Image Enhancement in Spatial DomainDEEPASHRI HK
 
Digital Image restoration
Digital Image restorationDigital Image restoration
Digital Image restorationMd Shabir Alam
 
08 frequency domain filtering DIP
08 frequency domain filtering DIP08 frequency domain filtering DIP
08 frequency domain filtering DIPbabak danyal
 
Digital Image Processing_ ch2 enhancement spatial-domain
Digital Image Processing_ ch2 enhancement spatial-domainDigital Image Processing_ ch2 enhancement spatial-domain
Digital Image Processing_ ch2 enhancement spatial-domainMalik obeisat
 
Point processing
Point processingPoint processing
Point processingpanupriyaa7
 
Sharpening using frequency Domain Filter
Sharpening using frequency Domain FilterSharpening using frequency Domain Filter
Sharpening using frequency Domain Filterarulraj121
 
Image compression in digital image processing
Image compression in digital image processingImage compression in digital image processing
Image compression in digital image processingDHIVYADEVAKI
 
Mathematical operations in image processing
Mathematical operations in image processingMathematical operations in image processing
Mathematical operations in image processingAsad Ali
 
Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)Kalyan Acharjya
 
Wavelet transform in image compression
Wavelet transform in image compressionWavelet transform in image compression
Wavelet transform in image compressionjeevithaelangovan
 

What's hot (20)

Image Filtering in the Frequency Domain
Image Filtering in the Frequency DomainImage Filtering in the Frequency Domain
Image Filtering in the Frequency Domain
 
SPATIAL FILTERING IN IMAGE PROCESSING
SPATIAL FILTERING IN IMAGE PROCESSINGSPATIAL FILTERING IN IMAGE PROCESSING
SPATIAL FILTERING IN IMAGE PROCESSING
 
Image Enhancement in Spatial Domain
Image Enhancement in Spatial DomainImage Enhancement in Spatial Domain
Image Enhancement in Spatial Domain
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
 
Digital Image restoration
Digital Image restorationDigital Image restoration
Digital Image restoration
 
08 frequency domain filtering DIP
08 frequency domain filtering DIP08 frequency domain filtering DIP
08 frequency domain filtering DIP
 
Hit and-miss transform
Hit and-miss transformHit and-miss transform
Hit and-miss transform
 
Digital Image Processing_ ch2 enhancement spatial-domain
Digital Image Processing_ ch2 enhancement spatial-domainDigital Image Processing_ ch2 enhancement spatial-domain
Digital Image Processing_ ch2 enhancement spatial-domain
 
SPATIAL FILTER
SPATIAL FILTERSPATIAL FILTER
SPATIAL FILTER
 
Edge detection
Edge detectionEdge detection
Edge detection
 
Point processing
Point processingPoint processing
Point processing
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
image enhancement
 image enhancement image enhancement
image enhancement
 
Sharpening using frequency Domain Filter
Sharpening using frequency Domain FilterSharpening using frequency Domain Filter
Sharpening using frequency Domain Filter
 
Image compression in digital image processing
Image compression in digital image processingImage compression in digital image processing
Image compression in digital image processing
 
Mathematical operations in image processing
Mathematical operations in image processingMathematical operations in image processing
Mathematical operations in image processing
 
Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Morphological operations
Morphological operationsMorphological operations
Morphological operations
 
Wavelet transform in image compression
Wavelet transform in image compressionWavelet transform in image compression
Wavelet transform in image compression
 

Similar to 6.frequency domain image_processing

Filtering in frequency domain
Filtering in frequency domainFiltering in frequency domain
Filtering in frequency domainGowriLatha1
 
07 frequency domain DIP
07 frequency domain DIP07 frequency domain DIP
07 frequency domain DIPbabak danyal
 
Frequency domain methods
Frequency domain methods Frequency domain methods
Frequency domain methods thanhhoang2012
 
DIGITAL IMAGE PROCESSING - Day 4 Image Transform
DIGITAL IMAGE PROCESSING - Day 4 Image TransformDIGITAL IMAGE PROCESSING - Day 4 Image Transform
DIGITAL IMAGE PROCESSING - Day 4 Image Transformvijayanand Kandaswamy
 
Color image analyses using four deferent transformations
Color image analyses using four deferent transformationsColor image analyses using four deferent transformations
Color image analyses using four deferent transformationsAlexander Decker
 
Color image analyses using four deferent transformations
Color image analyses using four deferent transformationsColor image analyses using four deferent transformations
Color image analyses using four deferent transformationsAlexander Decker
 
Digital Image Processing_ ch3 enhancement freq-domain
Digital Image Processing_ ch3 enhancement freq-domainDigital Image Processing_ ch3 enhancement freq-domain
Digital Image Processing_ ch3 enhancement freq-domainMalik obeisat
 
Image trnsformations
Image trnsformationsImage trnsformations
Image trnsformationsJohn Williams
 
ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)
ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)
ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)Shajun Nisha
 
Basics of edge detection and forier transform
Basics of edge detection and forier transformBasics of edge detection and forier transform
Basics of edge detection and forier transformSimranjit Singh
 
FourierTransform detailed power point presentation
FourierTransform detailed power point presentationFourierTransform detailed power point presentation
FourierTransform detailed power point presentationssuseracb8ba
 
3 intensity transformations and spatial filtering slides
3 intensity transformations and spatial filtering slides3 intensity transformations and spatial filtering slides
3 intensity transformations and spatial filtering slidesBHAGYAPRASADBUGGE
 
imageCorrectionLinearDiffusion
imageCorrectionLinearDiffusionimageCorrectionLinearDiffusion
imageCorrectionLinearDiffusionKellen Betts
 
Frequency Image Processing
Frequency Image ProcessingFrequency Image Processing
Frequency Image ProcessingSuhas Deshpande
 
04 1 - frequency domain filtering fundamentals
04 1 - frequency domain filtering fundamentals04 1 - frequency domain filtering fundamentals
04 1 - frequency domain filtering fundamentalscpshah01
 

Similar to 6.frequency domain image_processing (20)

Filtering in frequency domain
Filtering in frequency domainFiltering in frequency domain
Filtering in frequency domain
 
Lect5 v2
Lect5 v2Lect5 v2
Lect5 v2
 
Nabaa
NabaaNabaa
Nabaa
 
07 frequency domain DIP
07 frequency domain DIP07 frequency domain DIP
07 frequency domain DIP
 
Frequency domain methods
Frequency domain methods Frequency domain methods
Frequency domain methods
 
DIGITAL IMAGE PROCESSING - Day 4 Image Transform
DIGITAL IMAGE PROCESSING - Day 4 Image TransformDIGITAL IMAGE PROCESSING - Day 4 Image Transform
DIGITAL IMAGE PROCESSING - Day 4 Image Transform
 
Color image analyses using four deferent transformations
Color image analyses using four deferent transformationsColor image analyses using four deferent transformations
Color image analyses using four deferent transformations
 
Color image analyses using four deferent transformations
Color image analyses using four deferent transformationsColor image analyses using four deferent transformations
Color image analyses using four deferent transformations
 
Digital Image Processing_ ch3 enhancement freq-domain
Digital Image Processing_ ch3 enhancement freq-domainDigital Image Processing_ ch3 enhancement freq-domain
Digital Image Processing_ ch3 enhancement freq-domain
 
Image trnsformations
Image trnsformationsImage trnsformations
Image trnsformations
 
ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)
ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)
ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)
 
Basics of edge detection and forier transform
Basics of edge detection and forier transformBasics of edge detection and forier transform
Basics of edge detection and forier transform
 
FourierTransform detailed power point presentation
FourierTransform detailed power point presentationFourierTransform detailed power point presentation
FourierTransform detailed power point presentation
 
Image processing 2
Image processing 2Image processing 2
Image processing 2
 
3 intensity transformations and spatial filtering slides
3 intensity transformations and spatial filtering slides3 intensity transformations and spatial filtering slides
3 intensity transformations and spatial filtering slides
 
imageCorrectionLinearDiffusion
imageCorrectionLinearDiffusionimageCorrectionLinearDiffusion
imageCorrectionLinearDiffusion
 
Frequency Image Processing
Frequency Image ProcessingFrequency Image Processing
Frequency Image Processing
 
It 603
It 603It 603
It 603
 
It 603
It 603It 603
It 603
 
04 1 - frequency domain filtering fundamentals
04 1 - frequency domain filtering fundamentals04 1 - frequency domain filtering fundamentals
04 1 - frequency domain filtering fundamentals
 

More from Nashid Alam

Masters' whole work(big back-u_pslide)
Masters' whole work(big back-u_pslide)Masters' whole work(big back-u_pslide)
Masters' whole work(big back-u_pslide)Nashid Alam
 
Ms thesis-final-defense-presentation
Ms thesis-final-defense-presentationMs thesis-final-defense-presentation
Ms thesis-final-defense-presentationNashid Alam
 
M 2 presentation(final)
M 2 presentation(final)M 2 presentation(final)
M 2 presentation(final)Nashid Alam
 
4.Do& Martion- Contourlet transform (Backup side-4)
4.Do& Martion- Contourlet transform (Backup side-4)4.Do& Martion- Contourlet transform (Backup side-4)
4.Do& Martion- Contourlet transform (Backup side-4)Nashid Alam
 
3.Wavelet Transform(Backup slide-3)
3.Wavelet Transform(Backup slide-3)3.Wavelet Transform(Backup slide-3)
3.Wavelet Transform(Backup slide-3)Nashid Alam
 
2.Image formation (Backup slide 2)
2.Image formation (Backup slide 2)2.Image formation (Backup slide 2)
2.Image formation (Backup slide 2)Nashid Alam
 
1.breast cancer screening(backup slide-1)
1.breast cancer screening(backup slide-1)1.breast cancer screening(backup slide-1)
1.breast cancer screening(backup slide-1)Nashid Alam
 
Microcalcification Enhancement in Digital Mammogram
Microcalcification Enhancement in Digital MammogramMicrocalcification Enhancement in Digital Mammogram
Microcalcification Enhancement in Digital MammogramNashid Alam
 
MICROCALCIFICATION IDENTIFICATION IN DIGITAL MAMMOGRAM FOR EARLY DETECTION OF...
MICROCALCIFICATION IDENTIFICATION IN DIGITAL MAMMOGRAM FOR EARLY DETECTION OF...MICROCALCIFICATION IDENTIFICATION IN DIGITAL MAMMOGRAM FOR EARLY DETECTION OF...
MICROCALCIFICATION IDENTIFICATION IN DIGITAL MAMMOGRAM FOR EARLY DETECTION OF...Nashid Alam
 

More from Nashid Alam (9)

Masters' whole work(big back-u_pslide)
Masters' whole work(big back-u_pslide)Masters' whole work(big back-u_pslide)
Masters' whole work(big back-u_pslide)
 
Ms thesis-final-defense-presentation
Ms thesis-final-defense-presentationMs thesis-final-defense-presentation
Ms thesis-final-defense-presentation
 
M 2 presentation(final)
M 2 presentation(final)M 2 presentation(final)
M 2 presentation(final)
 
4.Do& Martion- Contourlet transform (Backup side-4)
4.Do& Martion- Contourlet transform (Backup side-4)4.Do& Martion- Contourlet transform (Backup side-4)
4.Do& Martion- Contourlet transform (Backup side-4)
 
3.Wavelet Transform(Backup slide-3)
3.Wavelet Transform(Backup slide-3)3.Wavelet Transform(Backup slide-3)
3.Wavelet Transform(Backup slide-3)
 
2.Image formation (Backup slide 2)
2.Image formation (Backup slide 2)2.Image formation (Backup slide 2)
2.Image formation (Backup slide 2)
 
1.breast cancer screening(backup slide-1)
1.breast cancer screening(backup slide-1)1.breast cancer screening(backup slide-1)
1.breast cancer screening(backup slide-1)
 
Microcalcification Enhancement in Digital Mammogram
Microcalcification Enhancement in Digital MammogramMicrocalcification Enhancement in Digital Mammogram
Microcalcification Enhancement in Digital Mammogram
 
MICROCALCIFICATION IDENTIFICATION IN DIGITAL MAMMOGRAM FOR EARLY DETECTION OF...
MICROCALCIFICATION IDENTIFICATION IN DIGITAL MAMMOGRAM FOR EARLY DETECTION OF...MICROCALCIFICATION IDENTIFICATION IN DIGITAL MAMMOGRAM FOR EARLY DETECTION OF...
MICROCALCIFICATION IDENTIFICATION IN DIGITAL MAMMOGRAM FOR EARLY DETECTION OF...
 

Recently uploaded

Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxCulture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxPoojaSen20
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)cama23
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 

Recently uploaded (20)

Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxCulture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 

6.frequency domain image_processing

  • 1. Image processing in frequency Domain Department of Computer Science And Engineering Shahjalal University of Science and Technology Nashid Alam Registration No: 2012321028 annanya_cse@yahoo.co.uk Masters -2 Presentation (Backup Slides# 6)
  • 2. Introduction to Frequency domain Deal with images in: -Spatial domain -Frequency domain
  • 3. Difference between spatial domain and frequency domain Spatial domain : - Deal with images as it is. - The value of the pixels of the image change with respect to scene. Frequency domain : -Deal with the rate at which the pixel values are changing in spatial domain.
  • 4. For simplicity , Let’s put it this way. DIFFERENCE BETWEEN SPATIAL DOMAIN AND FREQUENCY DOMAIN Directly deal with the image matrix.
  • 5. For simplicity , Let’s put it this way. Image Processing in Frequency Domain o Transform the image to its frequency distribution. o Black box system perform what ever processing it has to perform oThe output of the black box is not an image , - The output it is a transformation. o After performing inverse transformation - The output is converted into an image which is then viewed in spatial domain. It can be pictorially viewed
  • 6. Frequency Components Any image in spatial domain can be represented in a frequency domain. But what do this frequencies actually mean? Frequency components are divided into two major components. 1. HIGH FREQUENCY COMPONENTS High frequency components correspond to edges in an image. 2. LOW FREQUENCY COMPONENTS Low frequency components in an image correspond to smooth regions.
  • 7. TRANSFORMATION Transformation: A signal can be converted from spatial domain into frequency domain using mathematical operators called transformation. kind of transformation: Fourier Series Fourier transformation Laplace transform Z transform
  • 9. Fourier Transform f(m, n) is a function of two discrete spatial variables m and n, Two-dimensional Fourier transform of f(m, n) : The variables ω1 and ω2 are frequency variables ω1 and ω2 both are periodic with period 2π Where, -2π<= ω1 and 2π<= ω2 F(ω1,ω2 ) is often called the frequency-domain representation of f(m, n)
  • 10. Fourier Transform F(0,0 ) is the sum of all the values of f(m, n) F(0,0 ) is often called the constant component or DC component of the Fourier transform. (DC stands for direct current: It is an electrical engineering term that refers to a constant-voltage power source, as opposed to a power source whose voltage varies sinusoidally.) frequency-domain representation of f(m, n):
  • 11. Fourier Transform The inverse two-dimensional Fourier transform is given by: This equation means that f(m, n) can be represented as: A sum of an infinite number of complex exponentials (sinusoids) with different frequencies.
  • 12. Example2D Fourier Transform Consider a function f(m, n) : 1 within a rectangular region 0 everywhere else. To simplify the diagram: f(m, n) is shown as a continuous function, even though the variables m and n are discrete
  • 13. Example2D Fourier Transform The magnitude of the Fourier transform, |F(ω1,ω2 )| is shown in mesh plot.
  • 14. This reflects the fact: -Horizontal cross sections of are narrow pulses, vertical cross sections are broad pulses. -Narrow pulses have more high-frequency content than broad pulses. Example2D Fourier Transform The plot also shows : More energy at high horizontal frequencies Less energy at high vertical frequencies. Example Of How To Do This Is In Next Slide
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 32. Example Relationship to 2D Fourier transform with spatial image Construct a matrix f that is similar to the function f(m, n) f = zeros(30,30); f(5:24,13:17) = 1; imshow(f,'notruesize') (b) Main Image (Toy image Constriction) in spatial domain (c)Fourier transform of the image(Frequency Domain) (a) Toy Image
  • 33. Example2D Fourier Transform Main Image in spatial domain Orthogonal Compute and visualize the 30-by-30 DFT of f(m,n)
  • 34. Target Main Image in spatial domain Fourier transform of the image (Frequency Domain) Inverse Fourier transform (Going back to Spatial domain)
  • 35. Example2D Fourier Transform Compute and visualize the 30-by-30 DFT of f(m,n) F = fft2(f); F2 = log(abs(F)); imshow(F2,[-1 5],'notruesize'); %% colormap(jet); colorbar
  • 36. Example2D Fourier Transform Doesn’t match the target Fourier Transformed Image The resolution is much lower DC coefficient of F(0,0) is displayed in the upper-left corner instead of the traditional location in the center (b) Target Fourier Transformed Image (b) Visualize the 30-by-30 DFT F(0,0) value is called DC coefficients DC=Direct Current
  • 37. Example2D Fourier Transform The resolution is increased by zero-padding f when computing its DFT. Need more computation %resolution is increased by zero-padding f %zero-pads f to be 256-by-256 before %computing the DFT F = fft2(f,256,256); Dealing with Resolution
  • 38. Example2D Fourier Transform DCT coefficients of Fourier transform are displayed much more finely The result is : (a) DCT result Before zero-padding (b) DCT result After zero-padding (fine result) Need more computation Dealing with Resolution F = fft2(f,256,256);
  • 39. Example2D Fourier Transform Need more computation Dealing with displaying DC coefficient of F(0,0) fix this problem by using the function fftshift, which swaps the quadrants of F so that the DC coefficient is in the center. imshow(log(abs(F)),[-1 5]); (b) Target Fourier Transformed Image
  • 40. Example2D Fourier Transform compute the inverse DFT (a) Fourier transform of the image (Frequency Domain) (b) Inverse Fourier transform (Going back to Spatial domain)