TWO DIMENSIONAL SIGNALS

A summary from a spectral analysis point of view, by Ananya Panja



Some 2D signals are:

$ \ \delta\left (\mathit{x}, \mathit{y}\right ), \text{ Rect} \left (\mathit{x}, \mathit{y}\right ),\text{ Sinc}\left (\mathit{x}, \mathit{y}\right ) $.

One important property of 2D functions is that they are separable, when they are a product of two 1D signals.They are of the form :

$ \ \mathbf{f}\left (\mathit{x}, \mathit{y}\right )=\mathbf{g}\left (\mathit{x}\right )\mathbf{h}\left (\mathit{y}\right) $

For example, the rect 2D function is

$ \text{Rect}\left (\mathit{x}, \mathit{y}\right ) = \begin{cases} 1, & \mbox{if }|x|,|y|\mbox{ is less than 1} \\ 0, & \mbox{ }\mbox{ else} \end{cases} $


The rect 2D function looks like a box .

Img8.jpg

The top view of the rect function looks like: Like a pixel

Img11.jpg

A fourier transform of a rect function is a product of 2 Sinc functions. The high'DC' components of the rect function lies in the origin of the image plot and on the fourier transform plot, those DC components should coincide with the center of the plot. But with a direct fft approach,the plot doesnt look like the expected fft graph. The DC components are found on the edges instead. Img9.jpg


The DC components are at the corners of the frequency space plot. However with fftshift function the image can be pre and post processed to move the DC components in the center of the fourier transform. So that the FT plots looks like the expected plot. The rect function is first shifted in the image plot and then 2 dimensional fft is applied on the shifted rect function. The fft is again shifted to render the expected plot. With fftshift,FT looks like: Img10.jpg

Another 2D function is Circ function.It is not separable into product of 2 1D functions Circ$ \left (\mathit{x}, \mathit{y}\right ) = \begin{cases} 1, & \mbox{if }\sqrt{x^2 +y^2} \mbox{ is less than 1} \\ 0, & \mbox{ }\mbox{ else} \end{cases} $

It looks like a cylinder in the 2D .The topview appears like a circle. Img12.jpgImg13.jpg The approach of direct fft and shifted fft is applied to get the appropriate results. Img14.jpgImg15.jpg

Results

To get the fft of the 2D signals,a direct fft is not the correct approach ,as the DC components instead of lying in the center,lies at the corners.To avoid it and get the correct fft,fftshift is used.


--Apanja 03:59, 6 November 2009 (UTC)Ananya Panja


Back to "Basic Signals and Functions" Table

Back to ECE438

Alumni Liaison

Basic linear algebra uncovers and clarifies very important geometry and algebra.

Dr. Paul Garrett