Question
A signal f is a function of the location (x,y), given by: f = sin[2(u 0 x+v 0 y)]+2, where u 0 and v 0
A signal f is a function of the location (x,y), given by: f = sin[2(u0x+v0y)]+2, where u0 and v0 are the spatial frequencies (/mm) of x and y directions, respectively. The response of an imaging system to the input signal f is given by: g(x,y) = 0.5sin[2(u0x+v0y)]+1. Seat the frequencies, u0 and v0, to the inverse number of 7 and 11 respectively. u0=1/7 (/mm) and v0=1/11 (/mm). Then, calculate f in the range of 0 x,y 150 mm (1mm step) using Matlab.
- Attach your Matlab code in your answer.
- to create [x,y] data, you may use meshgrid.
(a) Obtain 2-D spatial frequency spectrum of the signal f using fft2 and show its magnitude (you may use abs) in image display. To set the center of the image display at the origin of the spatial frequency domain, i.e. (0,0), use fftshift. Label the axis, Frequency, u [1/mm], Frequency, v [1/mm], respectively.
(b) What is the range of the spatial frequency domain (u and v) obtained? Justify your answer.
(c) What are the frequency components of the signal f observed in the spectrum obtained in (d)?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started