<< Chapter < Page
  Digital signal processing - dsp     Page 3 / 21
Chapter >> Page >

General discussion

The space domain

In Part 1 of this series, I extended the concept of the Fourier transform from the time domain into the space domain. I pointed out that while the time domainis one-dimensional, the space domain is thee-dimensional. However, in order to keep the complexity of this module in check, we will assume that space is onlytwo-dimensional. This will serve us well later for such tasks as image processing.

(Three-dimensional Fourier transforms are beyond the scope of this module. I will write a module on using Fourier transforms inthree-dimensional space later if I have the time.)

A purely real space domain

Although the space domain can be (and often is) complex, many interesting problems, (such as photographic image processing) can be dealt with under the assumption that the space domain is purely real. We willmake that assumption in this module. This assumption will allow us to simplify our computations when performing the 2D Fourier transform to transform our datafrom the space domain into the wavenumber domain.

Preview

I will present and explain two complete Java programs in this module. The first program is a single class named ImgMod30 , which provides the capability to perform forward and inverse Fourier transforms onthree-dimensional surfaces. In addition, the class provides a method that can be used to reformat the wavenumber spectrum to make it more suitable for display.

The second program is named ImgMod31 . This is an executable program whose purpose is to exercise and to test the ImgMod30 class using several examples for which the results should already be known.

Sample programs

The class named ImgMod30

This class provides 2D Fourier transform capability that can be used for image processing and other purposes. The class provides three static methods:

  • xform2D : Performs a forward 2D Fourier transform on a purely real surface described by a 2D array of double values in the space domain to produce a complex spectrum in the wavenumberdomain. The method returns the real part, the imaginary part, and the amplitude spectrum, each in its own 2D array of double values.
  • inverseXform2D : Performs an inverse 2D Fourier transform from the complex wavenumber domain into the real space domainusing the real and imaginary parts of the wavenumber spectrum as input. Returns the surface in the space domain as a 2D array of double values. Assumes that the real and imaginary parts in the wavenumber domainare consistent with a purely real surface in the space domain, and does not return an imaginary surface for the space domain
  • shiftOrigin : The wavenumber spectrum produced by xform2D has its origin in the top-left corner with the Nyquist folding wave numbers near the center. This is not a very suitableformat for visual analysis. This method rearranges the data to place the origin at the center with the Nyquist folding wave numbers along the edges.

The class was tested using JDK 1.8 and Windows 7. The class uses the static import capability that was introduced in J2SE 5.0. Therefore, it should notcompile using earlier versions of the compiler.

Questions & Answers

what is biology
Hajah Reply
the study of living organisms and their interactions with one another and their environments
AI-Robot
what is biology
Victoria Reply
HOW CAN MAN ORGAN FUNCTION
Alfred Reply
the diagram of the digestive system
Assiatu Reply
allimentary cannel
Ogenrwot
How does twins formed
William Reply
They formed in two ways first when one sperm and one egg are splited by mitosis or two sperm and two eggs join together
Oluwatobi
what is genetics
Josephine Reply
Genetics is the study of heredity
Misack
how does twins formed?
Misack
What is manual
Hassan Reply
discuss biological phenomenon and provide pieces of evidence to show that it was responsible for the formation of eukaryotic organelles
Joseph Reply
what is biology
Yousuf Reply
the study of living organisms and their interactions with one another and their environment.
Wine
discuss the biological phenomenon and provide pieces of evidence to show that it was responsible for the formation of eukaryotic organelles in an essay form
Joseph Reply
what is the blood cells
Shaker Reply
list any five characteristics of the blood cells
Shaker
lack electricity and its more savely than electronic microscope because its naturally by using of light
Abdullahi Reply
advantage of electronic microscope is easily and clearly while disadvantage is dangerous because its electronic. advantage of light microscope is savely and naturally by sun while disadvantage is not easily,means its not sharp and not clear
Abdullahi
cell theory state that every organisms composed of one or more cell,cell is the basic unit of life
Abdullahi
is like gone fail us
DENG
cells is the basic structure and functions of all living things
Ramadan
What is classification
ISCONT Reply
is organisms that are similar into groups called tara
Yamosa
in what situation (s) would be the use of a scanning electron microscope be ideal and why?
Kenna Reply
A scanning electron microscope (SEM) is ideal for situations requiring high-resolution imaging of surfaces. It is commonly used in materials science, biology, and geology to examine the topography and composition of samples at a nanoscale level. SEM is particularly useful for studying fine details,
Hilary
cell is the building block of life.
Condoleezza Reply
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Digital signal processing - dsp. OpenStax CNX. Jan 06, 2016 Download for free at https://legacy.cnx.org/content/col11642/1.38
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Digital signal processing - dsp' conversation and receive update notifications?

Ask