[Insight-developers] proposal: enhancing wrapitk's filter coverage during (one of) the next tcon

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Thu Oct 2 10:48:18 EDT 2008


Le 1 oct. 08 à 23:10, Tom Vercauteren a écrit :

> Hi,
>
> The float variant should be sufficient. I haven't really looked into
> wrapITK yet. If most of it uses doubles, it makes of course more sense
> to use double instead of float for all the classes I mentioned..

Thanks!
WrapITK use float or double or both, depending on the options selected  
by the user.

For the other filters you sent me, maybe some of them are also usable  
with CovariantVector instead of Vector?
I'm thinking to VectorResampleImageFilter for example.

Gaëtan

>
>
> Tom
>
> On Wed, Oct 1, 2008 at 10:09 PM, Gaëtan Lehmann
> <gaetan.lehmann at jouy.inra.fr> wrote:
>>
>> Many thanks to all of you for your very positive feedbacks!
>>
>> Tom, in the following classes, you give 2 variants of the same  
>> class: with a
>> float as second template parameter, or with a double.
>> Is it useful to have both of them? Adding many variant has an  
>> important cost
>> in build time and binary size, so we should try to reduce them, when
>> possible.
>>
>> Would it be possible to use, for example, only the ones with the  
>> double as
>> second template parameter?
>>
>> Gaëtan
>>
>>
>> Le 1 oct. 08 à 12:17, Tom Vercauteren a écrit :
>>
>>>> DisplacementFieldJacobianDeterminantFilter
>>>
>>> itk::DisplacementFieldJacobianDeterminantFilter<
>>> itk::Image<itk::Vector<float,2>,2>, float >
>>> itk::DisplacementFieldJacobianDeterminantFilter<
>>> itk::Image<itk::Vector<float,2>,2>, double >
>>> itk::DisplacementFieldJacobianDeterminantFilter<
>>> itk::Image<itk::Vector<float,3>,3>, float >
>>> itk::DisplacementFieldJacobianDeterminantFilter<
>>> itk::Image<itk::Vector<float,3>,3>, double >
>>
>> --
>> 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://voxel.jouy.inra.fr  http://www.mandriva.org
>> http://www.itk.org  http://www.clavier-dvorak.org
>>
>>

-- 
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://voxel.jouy.inra.fr  http://www.mandriva.org
http://www.itk.org  http://www.clavier-dvorak.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20081002/7f44fb25/attachment.pgp>


More information about the Insight-developers mailing list