SlideShare a Scribd company logo
In this task, I want you to verify that the phase response of Fourier transform is much more
important than the magnitude response in case of images
1- Upload two images into Matlab of the same size.
2- Find the Fourier transform of these two images. (the function that you need to use is
“y=fft2(im)”
3- Reconstruct the images using their corresponding Fourier transforms and verify that the
Fourier transformation is perfectly invertable. (The function that you need to use is ifft2(y).
4- The Fourier transforms of the images are complex numbers, so you need to find their
magnitude and phase. (The functions that you need to use are “abs(y)” for magnitude and
“unwrap(angle(y))” for phase.).
5- Use the magnitude response of image 1 and the phase response of image 2 and reconstruct the
image applying inverse Fourier transform. (The function that you need to use is ifft2(rcos+jrsin ),
where r is the magnitude and is the phase).
6- Use the magnitude response of image 2 and the phase response of image 1 and reconstruct the
image applying inverse Fourier transform.
7- Comment on the results.
Solution
Fourier transform :-
The Fourier transform decomposes a function of time (a signal) into the frequencies that make it
up, similarly to how a musical chord can be expressed as the amplitude (or loudness) of its
constituent notes. The Fourier transform of a function of time itself is a complex-valued function
of frequency, whose absolute value represents the amount of that frequency present in the
original function, and whose complex argument is the phase offset of the basic sinusoid in that
frequency. The Fourier transform is called the frequency domain representation of the original
signal. The term Fourier transform refers to both the frequency domain representation and the
mathematical operation that associates the frequency domain representation to a function of time.
The Fourier transform is not limited to functions of time, but in order to have a unified language,
the domain of the original function is commonly referred to as the time domain. For many
functions of practical interest one can define an operation that reverses this: the inverse Fourier
transformation, also called Fourier synthesis, of a frequency domain representation combines the
contributions of all the different frequencies to recover the original function of time.
Linear operations performed in one domain (time or frequency) have corresponding operations in
the other domain, which are sometimes easier to perform. The operation of differentiation in the
time domain corresponds to multiplication by the frequency,[note 1] so some differential
equations are easier to analyze in the frequency domain. Also, convolution in the time domain
corresponds to ordinary multiplication in the frequency domain. Concretely, this means that any
linear time-invariant system, such as a filter applied to a signal, can be expressed relatively
simply as an operation on frequencies.[note 2] After performing the desired operations,
transformation of the result can be made back to the time domain. Harmonic analysis is the
systematic study of the relationship between the frequency and time domains, including the kinds
of functions or operations that are "simpler" in one or the other, and has deep connections to
almost all areas of modern mathematics.
Functions that are localized in the time domain have Fourier transforms that are spread out
across the frequency domain and vice versa, a phenomenon known as the uncertainty principle.
The critical case for this principle is the Gaussian function, of substantial importance in
probability theory and statistics as well as in the study of physical phenomena exhibiting normal
distribution (e.g., diffusion). The Fourier transform of a Gaussian function is another Gaussian
function. Joseph Fourierintroduced the transform in his study of heat transfer, where Gaussian
functions appear as solutions of the heat equation.
The Fourier transform can be formally defined as an improper Riemann integral, making it an
integral transform, although this definition is not suitable for many applications requiring a more
sophisticated integration theory.[note 3] For example, many relatively simple applications use
the Dirac delta function, which can be treated formally as if it were a function, but the
justification requires a mathematically more sophisticated viewpoint.[1] The Fourier transform
can also be generalized to functions of several variables on Euclidean space, sending a function
of 3-dimensional space to a function of 3-dimensionalmomentum (or a function of space and
time to a function of 4-momentum). This idea makes the spatial Fourier transform very natural in
the study of waves, as well as in quantum mechanics, where it is important to be able to represent
wave solutions as functions of either space or momentum and sometimes both. In general,
functions to which Fourier methods are applicable are complex-valued, and possibly vector-
valued.[2] Still further generalization is possible to functions on groups, which, besides the
original Fourier transform on or n (viewed as groups under addition), notably includes the
discrete-time Fourier transform (DTFT, group = ), the discrete Fourier transform (DFT, group =
mod N) and the Fourier series or circular Fourier transform (group = S1, the unit circle closed
finite interval with endpoints identified). The latter is routinely employed to handle periodic
functions. The Fast Fourier transform (FFT) is an algorithm for computing the DFT.

More Related Content

DOCX
Running Head Fourier Transform Time-Frequency Analysis. .docx
PPTX
FT full.pptx .
PPTX
FT1(SNU +BSH).pptx .
PPT
Lec 07 image enhancement in frequency domain i
PDF
Data Science - Part XVI - Fourier Analysis
PDF
Mba Ebooks ! Edhole
PPT
Fourier transforms Mulesh Anju Pramanik___
Running Head Fourier Transform Time-Frequency Analysis. .docx
FT full.pptx .
FT1(SNU +BSH).pptx .
Lec 07 image enhancement in frequency domain i
Data Science - Part XVI - Fourier Analysis
Mba Ebooks ! Edhole
Fourier transforms Mulesh Anju Pramanik___

Similar to In this task, I want you to verify that the phase response of Fourie.pdf (20)

PPTX
Chapter no4 image transform3
DOCX
Laplace transform
PPTX
Fourier transforms
PDF
3.Frequency Domain Representation of Signals and Systems
PDF
fouriertransformsiffatanjum-141026230143-conversion-gate01.pdf
PPT
Optics Fourier Transform Ii
PDF
Application of Laplace Transformation (cuts topic)
PDF
Waveguide beamprop
PPTX
LINE INTEGRAL ,RECTIFIABLE ARC CAUCHY THEOREM OF RECTANGLE, INTEGRAL FORMULA,...
PPTX
FFT Analysis
PPTX
Fft analysis
PDF
What Is Fourier Transform
PDF
Discrete Fourier Series | Discrete Fourier Transform | Discrete Time Fourier ...
PDF
Mba Ebooks ! Edhole
PPT
Basics of edge detection and forier transform
PPTX
Complexity Analysis of Recursive Function
PDF
Dft and its applications
PPTX
Fourier transform (cell phones)
PDF
Wavelets presentation
PDF
Vertex frequency
Chapter no4 image transform3
Laplace transform
Fourier transforms
3.Frequency Domain Representation of Signals and Systems
fouriertransformsiffatanjum-141026230143-conversion-gate01.pdf
Optics Fourier Transform Ii
Application of Laplace Transformation (cuts topic)
Waveguide beamprop
LINE INTEGRAL ,RECTIFIABLE ARC CAUCHY THEOREM OF RECTANGLE, INTEGRAL FORMULA,...
FFT Analysis
Fft analysis
What Is Fourier Transform
Discrete Fourier Series | Discrete Fourier Transform | Discrete Time Fourier ...
Mba Ebooks ! Edhole
Basics of edge detection and forier transform
Complexity Analysis of Recursive Function
Dft and its applications
Fourier transform (cell phones)
Wavelets presentation
Vertex frequency

More from aimdeals045 (20)

PDF
Infection of bacteria by virus particles is a Poisson process.  Viru.pdf
PDF
inequalityi dont know if the inequality is changing when solving.pdf
PDF
Individuals that continually monitor the financial markets seeking m.pdf
PDF
indicate whether you agree with the following statement that describ.pdf
PDF
Indicate what data analysis is and why is it useful Think of how a .pdf
PDF
Incompressible substances A and B are placed in a thermal contact in.pdf
PDF
Inch Ltd. was incorporated in the Bahamas in 2011. Although the comp.pdf
PDF
In-Class Exam Homework The college president is more interested in .pdf
PDF
Income Statement (in million of USDs)2015Total sales202Cost .pdf
PDF
In your own words, what were the core intellectual, political, and a.pdf
PDF
In your opinion, what are the biggest challenges facing MNCSolut.pdf
PDF
In words, what is the equation for normal stressSolutionA mea.pdf
PDF
In which of the following remote access methods is a pinholing schem.pdf
PDF
In what area does internal control allow only one person responsible.pdf
PDF
In todaySolution n the past it had been the .pdf
PDF
In this unit, you discussed some of the problems associated with inf.pdf
PDF
In this question i know the answer is an elliptic parabolid. My ques.pdf
PDF
In this chapter a decision tree was developed for John Thompson (Fig.pdf
PDF
In this problem , I have to find the third derivative of the fourth .pdf
PDF
In the view of the Securities and Exchange Commission (SEC), the lik.pdf
Infection of bacteria by virus particles is a Poisson process.  Viru.pdf
inequalityi dont know if the inequality is changing when solving.pdf
Individuals that continually monitor the financial markets seeking m.pdf
indicate whether you agree with the following statement that describ.pdf
Indicate what data analysis is and why is it useful Think of how a .pdf
Incompressible substances A and B are placed in a thermal contact in.pdf
Inch Ltd. was incorporated in the Bahamas in 2011. Although the comp.pdf
In-Class Exam Homework The college president is more interested in .pdf
Income Statement (in million of USDs)2015Total sales202Cost .pdf
In your own words, what were the core intellectual, political, and a.pdf
In your opinion, what are the biggest challenges facing MNCSolut.pdf
In words, what is the equation for normal stressSolutionA mea.pdf
In which of the following remote access methods is a pinholing schem.pdf
In what area does internal control allow only one person responsible.pdf
In todaySolution n the past it had been the .pdf
In this unit, you discussed some of the problems associated with inf.pdf
In this question i know the answer is an elliptic parabolid. My ques.pdf
In this chapter a decision tree was developed for John Thompson (Fig.pdf
In this problem , I have to find the third derivative of the fourth .pdf
In the view of the Securities and Exchange Commission (SEC), the lik.pdf

Recently uploaded (20)

PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PDF
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
advance database management system book.pdf
PDF
Empowerment Technology for Senior High School Guide
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PPTX
Lesson notes of climatology university.
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PPTX
Unit 4 Skeletal System.ppt.pptxopresentatiom
PPTX
UNIT III MENTAL HEALTH NURSING ASSESSMENT
PDF
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
PPTX
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
PDF
1_English_Language_Set_2.pdf probationary
PDF
Weekly quiz Compilation Jan -July 25.pdf
PPTX
Introduction to Building Materials
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Complications of Minimal Access Surgery at WLH
PPTX
UV-Visible spectroscopy..pptx UV-Visible Spectroscopy – Electronic Transition...
PDF
What if we spent less time fighting change, and more time building what’s rig...
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
Chinmaya Tiranga quiz Grand Finale.pdf
advance database management system book.pdf
Empowerment Technology for Senior High School Guide
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
Lesson notes of climatology university.
202450812 BayCHI UCSC-SV 20250812 v17.pptx
Unit 4 Skeletal System.ppt.pptxopresentatiom
UNIT III MENTAL HEALTH NURSING ASSESSMENT
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
1_English_Language_Set_2.pdf probationary
Weekly quiz Compilation Jan -July 25.pdf
Introduction to Building Materials
Final Presentation General Medicine 03-08-2024.pptx
Complications of Minimal Access Surgery at WLH
UV-Visible spectroscopy..pptx UV-Visible Spectroscopy – Electronic Transition...
What if we spent less time fighting change, and more time building what’s rig...
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...

In this task, I want you to verify that the phase response of Fourie.pdf

  • 1. In this task, I want you to verify that the phase response of Fourier transform is much more important than the magnitude response in case of images 1- Upload two images into Matlab of the same size. 2- Find the Fourier transform of these two images. (the function that you need to use is “y=fft2(im)” 3- Reconstruct the images using their corresponding Fourier transforms and verify that the Fourier transformation is perfectly invertable. (The function that you need to use is ifft2(y). 4- The Fourier transforms of the images are complex numbers, so you need to find their magnitude and phase. (The functions that you need to use are “abs(y)” for magnitude and “unwrap(angle(y))” for phase.). 5- Use the magnitude response of image 1 and the phase response of image 2 and reconstruct the image applying inverse Fourier transform. (The function that you need to use is ifft2(rcos+jrsin ), where r is the magnitude and is the phase). 6- Use the magnitude response of image 2 and the phase response of image 1 and reconstruct the image applying inverse Fourier transform. 7- Comment on the results. Solution Fourier transform :- The Fourier transform decomposes a function of time (a signal) into the frequencies that make it up, similarly to how a musical chord can be expressed as the amplitude (or loudness) of its constituent notes. The Fourier transform of a function of time itself is a complex-valued function of frequency, whose absolute value represents the amount of that frequency present in the original function, and whose complex argument is the phase offset of the basic sinusoid in that frequency. The Fourier transform is called the frequency domain representation of the original signal. The term Fourier transform refers to both the frequency domain representation and the mathematical operation that associates the frequency domain representation to a function of time. The Fourier transform is not limited to functions of time, but in order to have a unified language, the domain of the original function is commonly referred to as the time domain. For many functions of practical interest one can define an operation that reverses this: the inverse Fourier transformation, also called Fourier synthesis, of a frequency domain representation combines the contributions of all the different frequencies to recover the original function of time. Linear operations performed in one domain (time or frequency) have corresponding operations in the other domain, which are sometimes easier to perform. The operation of differentiation in the
  • 2. time domain corresponds to multiplication by the frequency,[note 1] so some differential equations are easier to analyze in the frequency domain. Also, convolution in the time domain corresponds to ordinary multiplication in the frequency domain. Concretely, this means that any linear time-invariant system, such as a filter applied to a signal, can be expressed relatively simply as an operation on frequencies.[note 2] After performing the desired operations, transformation of the result can be made back to the time domain. Harmonic analysis is the systematic study of the relationship between the frequency and time domains, including the kinds of functions or operations that are "simpler" in one or the other, and has deep connections to almost all areas of modern mathematics. Functions that are localized in the time domain have Fourier transforms that are spread out across the frequency domain and vice versa, a phenomenon known as the uncertainty principle. The critical case for this principle is the Gaussian function, of substantial importance in probability theory and statistics as well as in the study of physical phenomena exhibiting normal distribution (e.g., diffusion). The Fourier transform of a Gaussian function is another Gaussian function. Joseph Fourierintroduced the transform in his study of heat transfer, where Gaussian functions appear as solutions of the heat equation. The Fourier transform can be formally defined as an improper Riemann integral, making it an integral transform, although this definition is not suitable for many applications requiring a more sophisticated integration theory.[note 3] For example, many relatively simple applications use the Dirac delta function, which can be treated formally as if it were a function, but the justification requires a mathematically more sophisticated viewpoint.[1] The Fourier transform can also be generalized to functions of several variables on Euclidean space, sending a function of 3-dimensional space to a function of 3-dimensionalmomentum (or a function of space and time to a function of 4-momentum). This idea makes the spatial Fourier transform very natural in the study of waves, as well as in quantum mechanics, where it is important to be able to represent wave solutions as functions of either space or momentum and sometimes both. In general, functions to which Fourier methods are applicable are complex-valued, and possibly vector- valued.[2] Still further generalization is possible to functions on groups, which, besides the original Fourier transform on or n (viewed as groups under addition), notably includes the discrete-time Fourier transform (DTFT, group = ), the discrete Fourier transform (DFT, group = mod N) and the Fourier series or circular Fourier transform (group = S1, the unit circle closed finite interval with endpoints identified). The latter is routinely employed to handle periodic functions. The Fast Fourier transform (FFT) is an algorithm for computing the DFT.