🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.dsp
Article #1289

Array organization. Was: FFT in 2D

#1289
From: David Kastrup
Date: Wed, 30 Sep 1992 08:25
20 lines
1607 bytes
lake@cwjcc.INS.CWRU.Edu (Dr. Robin Lake) writes:


>One thing to watch out for is where the DC component of the 2-D FFT ends
>up in the result.  Very likely to be at the "corners" of the resulting
>array, requiring some reorganization to move to the "center".

What's wrong with the left upper corner? Index (0,0) is where it belongs.
If you want to somehow have a "logical" order with 0 in the middle, remember
that a frequency component of -1/N Hz is ABSOLUTELY indestinguishable
from (N-1)/N Hz due to sampling aliasing. The transform is based on
that fact (at least the fast algorithms), and why mangle up the indexing?

The only problem MAY be that people find graphical representations
of convolution masks or transforms irritating. I can live with that.
If you want to,
DISPLAY it shifted by whatever you want, but do not mangle the data
structure, because that tends to COMPLICATE things instead of making
them easier, especially since all the theorems of DFT are usually
formulated for indexes 0..N-1.
Technical Details
Message-ID: <dak.717841519@kaa>
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!darwin.sura.net!Sirius.dfn.de!Urmel.Informatik.RWTH-Aachen.DE!kaa!dak
References: <28SEP199214061890@ariel.lerc.nasa.gov> <1992Sep28.211714.17597@lmpsbbs.comm.mot.com> <1a9insINNnbh@usenet.INS.CWRU.Edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.dsp
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!darwin.sura.net!Sirius.dfn.de!Urmel.Informatik.RWTH-Aachen.DE!kaa!dak
From: dak@kaa.informatik.rwth-aachen.de (David Kastrup)
Subject: Array organization. Was: FFT in 2D
Message-ID: <dak.717841519@kaa>
Sender: news@Urmel.Informatik.RWTH-Aachen.DE (Newsfiles Owner)
Nntp-Posting-Host: kaa
Organization: Rechnerbetrieb Informatik  /  RWTH Aachen
References: <28SEP199214061890@ariel.lerc.nasa.gov> <1992Sep28.211714.17597@lmpsbbs.comm.mot.com> <1a9insINNnbh@usenet.INS.CWRU.Edu>
Date: 30 Sep 92 08:25:19 GMT
Lines: 20