<< 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

summarize halerambos & holbon
David Reply
the Three stages of Auguste Comte
Clementina Reply
what are agents of socialization
Antonio Reply
sociology of education
Nuhu Reply
definition of sociology of education
Nuhu
what is culture
Abdulrahim Reply
shared beliefs, values, and practices
AI-Robot
What are the two type of scientific method
ogunniran Reply
I'm willing to join you
Aceng Reply
what are the scientific method of sociology
Man
what is socialization
ogunniran Reply
the process wherein people come to understand societal norms and expectations, to accept society's beliefs, and to be aware of societal values
AI-Robot
scientific method in doing research
ogunniran
defimition of sickness in afica
Anita
Cosmology
ogunniran
Hmmm
ogunniran
list and explain the terms that found in society
REMMY Reply
list and explain the terms that found in society
Mukhtar
what are the agents of socialization
Antonio
Family Peer group Institution
Abdulwajud
I mean the definition
Antonio
ways of perceived deviance indifferent society
Naomi Reply
reasons of joining groups
SAM
to bring development to the nation at large
Hyellafiya
entails of consultative and consensus building from others
Gadama
World first Sociologist?
Abu
What is evolutionary model
Muhammad Reply
Evolution models refer to mathematical and computational representations of the processes involved in biological evolution. These models aim to simulate and understand how species change over time through mechanisms such as natural selection, genetic drift, and mutation. Evolutionary models can be u
faruk
what are the modern trends in religious behaviours
Selekeye Reply
what are social norms
Daniel Reply
shared standards of acceptable behavior by the group or appropriate behavior in a particular institution or those behaviors that are acceptable in a society
Lucius
that is how i understood it
Lucius
examples of societal norms
Diamond
Discuss the characteristics of the research located within positivist and the interpretivist paradigm
Tariro Reply
what is Industrialisation
Selekeye Reply
industrialization
Angelo
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