[Insight-developers] Consistency in the output of forward/inverse FFT image filters

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Fri Aug 19 11:05:21 EDT 2011


Le 19 août 11 à 16:43, Cory Quammen a écrit :

> [snip]
>>
>> It's a very good idea.
>>
>> What would you think of adding a new filter to produce the full  
>> image from
>> the half output of the fft filter instead of adding an option to  
>> the fft
>> filter?
>
> That's a good suggestion that would simplify things. Are you proposing
> to make the VNL FFT filter always produce a half output image for real
> inputs?

That's what I'm proposing.
It may have a cost for vnl filters, but hopefully it will be  
compensated by the lower amount of memory required for further  
transformations in the frequency domain.

> I don't object, but just want to be clear what you are
> proposing. I think most of the time people will want to operate on the
> half images and only use the half-to-full image filter for display
> purposes.
>
>> Also, would that behavior make sense when working on complex images?
>
> No. I was thinking the option would be ignored for complex inputs on
> the forward filter and complex outputs on the inverse filter (full
> images would always be assumed), but that just makes the code and
> documentation more complicated :-)
>
> Thanks,
> Cory
>
>>
>>
>> --
>> Gaëtan Lehmann
>> Biologie du Développement et de la Reproduction
>> INRA de Jouy-en-Josas (France)
>> tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
>> http://mima2.jouy.inra.fr  http://www.itk.org
>> http://www.bepo.fr
>>
>>
>
>
>
> -- 
> Cory Quammen
> Research Associate
> Department of Computer Science
> The University of North Carolina at Chapel Hill

-- 
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
http://mima2.jouy.inra.fr  http://www.itk.org
http://www.bepo.fr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 203 bytes
Desc: Ceci est une signature ?lectronique PGP
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20110819/fbf2220b/attachment.pgp>


More information about the Insight-developers mailing list