[Insight-developers] Consistency in the output of forward/inverse FFT image filters
Johnson, Hans J
hans-johnson at uiowa.edu
Thu Aug 18 15:18:36 EDT 2011
Cory,
I think that the default should be just the 1/2 output. Many optimized
FFT routines generate only the 1/2 output, and for a "production quality"
application it is likely that they will need this version.
I am supportive of you working on this. It would be a very nice addition.
Hans
On 8/18/11 2:14 PM, "Cory Quammen" <cquammen at cs.unc.edu> wrote:
>Kevin Hobbs brought up a good point in a recent post to the ITK users
>list regarding the output of the forward FFT filter. Right now, the
>output of this filter is quite different if FFTW is enabled. This is
>because FFTW computes only about half of the output image because of
>the Hermitian symmetry inherent in the Fourier transform of a real
>signal, while the FFT routine in VNL computes the full output image.
>Kevin pointed out that to effectively work with the output of this
>filter, one must know whether the output is in the half or full image
>format, and one must explicitly check in the code whether FFTW is
>enabled to check that. I agree with him that this is undesirable.
>
>To make the FFT filters' behaviors consistent regardless of whether
>FFTW is enabled, I propose that all FFT filters include an option to
>produce the full output image. By default, all the FFT filters would
>produce the half output (what FFTW produces). The inverse filters
>would also have an option to specify whether their input is in the
>half or full output format.
>
>Does this sound like a good idea? I'm happy to work on a patch for
>this change if there are no objections.
>
>Thanks,
>Cory
>
>--
>Cory Quammen
>Research Associate
>Department of Computer Science
>The University of North Carolina at Chapel Hill
>_______________________________________________
>Powered by www.kitware.com
>
>Visit other Kitware open-source projects at
>http://www.kitware.com/opensource/opensource.html
>
>Kitware offers ITK Training Courses, for more information visit:
>http://kitware.com/products/protraining.html
>
>Please keep messages on-topic and check the ITK FAQ at:
>http://www.itk.org/Wiki/ITK_FAQ
>
>Follow this link to subscribe/unsubscribe:
>http://www.itk.org/mailman/listinfo/insight-developers
________________________________
Notice: This UI Health Care e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged. If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited. Please reply to the sender that you have received the message in error, then delete it. Thank you.
________________________________
More information about the Insight-developers
mailing list