<< Chapter < Page Chapter >> Page >

2-d: images

Let us assume we have a continuous distribution, on a plane, of values of luminance or, more simply stated, animage. In order to process it using a computer we have to reduce it to a sequence of numbers by means ofsampling. There are several ways to sample an image, or read its values of luminance at discrete points. Thesimplest way is to use a regular grid, with spatial steps X e Y . Similarly to what we did for sounds, we define the spatial sampling rates F X 1 X and F Y 1 Y . As in the one-dimensional case, also for two-dimensional signals, or images, sampling can bedescribed by three facts and a theorem.

  • The Fourier Transform of a discrete-space signal is a function (called spectrum ) of two continuous variables ω X and ω Y , and it is periodic in two dimensions with periods 2 π . Given a couple of values ω X and ω Y , the Fourier transform gives back a complex number that can be interpreted as magnitude andphase (translation in space) of the sinusoidal component at such spatial frequencies.
  • Sampling the continuous-space signal s x y with the regular grid of steps X , Y , gives a discrete-space signal s m n s m X n Y , which is a function of the discrete variables m and n .
  • Sampling a continuous-space signal with spatial frequencies F X and F Y gives a discrete-space signal whose spectrum is the periodic replication along the grid of steps F X and F Y of the original signal spectrum. The Fourier variables ω X and ω Y correspond to the frequencies (in cycles per meter) represented by the variables f X ω X 2 π X and f Y ω Y 2 π Y .

The [link] shows an example of spectrum of a two-dimensional sampled signal. There, thecontinuous-space signal had all and only the frequency components included in the central hexagon. The hexagonalshape of the spectral support (region of non-null spectral energy) is merely illustrative. The replicas of the originalspectrum are often called spectral images .

Spectrum of a sampled image

Given the above facts , we can have an intuitive understanding of the Sampling Theorem.

Sampling theorem (in 2d)

A continuous-space signal s x y , whose spectral content is limited to spatial frequencies belonging to the rectangle having semi-edges F bX and F bY (i.e., bandlimited) can be recovered from its sampled version s m n if the spatial sampling rates are larger than twice the respective bandwidths (i.e., if F X 2 F bX and F Y 2 F bY )

In practice, the spatial sampling step can not be larger than the semi-period of the finest spatial frequency (or thefinest detail) that is represented in the image. The reconstruction can only be done through a filter thateliminates all the spectral images but the one coming directly from the original continuous-space signal. In otherwords, the filter will cut all images whose frequency components are higher than the Nyquist frequency defined as F X 2 and F Y 2 along the two axes. The condition required by the sampling theorem is equivalent to requiring that there are no overlaps between spectral images. If there were suchoverlaps, it wouldn't be possible to eliminate the copies of the original signal spectrum by means of filtering. In case of overlapping, a filtercutting all frequency components higher than the Nyquist frequency would give back a signal that is affected byaliasing.

Questions & Answers

how to create a software using Android phone
Wiseman Reply
how
basra
what is the difference between C and C++.
Yan Reply
what is software
Sami Reply
software is a instructions like programs
Shambhu
what is the difference between C and C++.
Yan
yes, how?
Hayder
what is software engineering
Ahmad
software engineering is a the branch of computer science deals with the design,development, testing and maintenance of software applications.
Hayder
who is best bw software engineering and cyber security
Ahmad
Both software engineering and cybersecurity offer exciting career prospects, but your choice ultimately depends on your interests and skills. If you enjoy problem-solving, programming, and designing software syste
Hayder
what's software processes
Ntege Reply
I haven't started reading yet. by device (hardware) or for improving design Lol? Here. Requirement, Design, Implementation, Verification, Maintenance.
Vernon
I can give you a more valid answer by 5:00 By the way gm.
Vernon
it is all about designing,developing, testing, implementing and maintaining of software systems.
Ehenew
hello assalamualaikum
Sami
My name M Sami I m 2nd year student
Sami
what is the specific IDE for flutter programs?
Mwami Reply
jegudgdtgd my Name my Name is M and I have been talking about iey my papa john's university of washington post I tagged I will be in
Mwaqas Reply
yes
usman
how disign photo
atul Reply
hlo
Navya
hi
Michael
yes
Subhan
Show the necessary steps with description in resource monitoring process (CPU,memory,disk and network)
samuel Reply
What is software engineering
Tafadzwa Reply
Software engineering is a branch of computer science directed to writing programs to develop Softwares that can drive or enable the functionality of some hardwares like phone , automobile and others
kelvin
if any requirement engineer is gathering requirements from client and after getting he/she Analyze them this process is called
Alqa Reply
The following text is encoded in base 64. Ik5ldmVyIHRydXN0IGEgY29tcHV0ZXIgeW91IGNhbid0IHRocm93IG91dCBhIHdpbmRvdyIgLSBTdGV2ZSBXb3puaWFr Decode it, and paste the decoded text here
Julian Reply
what to do you mean
Vincent
hello
ALI
how are you ?
ALI
What is the command to list the contents of a directory in Unix and Unix-like operating systems
George Reply
how can i make my own software free of cost
Faizan Reply
like how
usman
hi
Hayder
The name of the author of our software engineering book is Ian Sommerville.
Doha Reply
what is software
Sampson Reply
the set of intruction given to the computer to perform a task
Noor
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, Media processing in processing. OpenStax CNX. Nov 10, 2010 Download for free at http://cnx.org/content/col10268/1.14
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Media processing in processing' conversation and receive update notifications?

Ask