From: M. Edward Borasky (znmeb@aracnet.com)
Date: Tue 25 Sep 2001 - 12:42:23 EST
Message-id: <HBEHIIBBKKNOBLMPKCBBIEANDNAA.znmeb@aracnet.com>
The simplest way to get the "hot spot" in the middle is to pre-multiply the
2D FFT *input* pointwise by a checkerboard pattern of -1s and +1s. For
example, if your input is
a b c d
e f g h
i j k l
m n o p
you would submit
-a b -c d
e -f g -h
-i j -k l
m -n o -p
as input to your 2D FFT. This is from memory; someone with access to an
image processing textbook please correct me if I'm wrong!!!
-- M. Edward (Ed) Borasky, Chief Scientist, Borasky Research http://www.borasky-research.net http://www.aracnet.com/~znmeb mailto:znmeb@borasky-research.net mailto:znmeb@aracnet.comIf there's nothing to astrology, how come so many famous men were born on holidays?
> -----Original Message----- > Date: Sun, 23 Sep 2001 20:04:06 -0700 (PDT) > From: bradley love <bradley_c_love@yahoo.com> > Subject: [R] 2D fft DC shift > > Hi Everyone, > > Does anyone know how to take the output of a 2D fft() > and shift the DC component to the center? Is there a > function that does that? > > if you know, please send me an email. > > thanks for any help! > > brad
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
This archive was generated by hypermail 2.1.3 : Thu 17 Jan 2002 - 11:10:06 EST