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

Tom Vercauteren tom.vercauteren at m4x.org
Wed Oct 1 17:10:54 EDT 2008


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..

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
>
>


More information about the Insight-developers mailing list