[Insight-developers] GradientVectorFlowImageFilter internal image type

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Fri Jan 9 16:30:08 EST 2009


Hi,

In order to add GradientVectorFlowImageFilter in wrapitk, I'd like to  
make a change in that filter: I want to expose the pixel type used in  
the internal image type in the template parameter, with the default to  
the current value (double).

   template <class TInputImage, class TOutputImage>
   class ITK_EXPORT GradientVectorFlowImageFilter : public  
ImageToImageFilter<TInputImage, TOutputImage>

would become

   template <class TInputImage, class TOutputImage, class  
TInternalPixel=double>
   class ITK_EXPORT GradientVectorFlowImageFilter : public  
ImageToImageFilter<TInputImage, TOutputImage>

There shouldn't be any backward compatibility issue that way. I don't  
know well that class though, so I have an important question:
Does that change look reasonable? I mean, is it relevant to use a  
different internal pixel type than double - float for example?

Regards,

Gaëtan


-- 
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: Ceci est une signature ?lectronique PGP
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20090109/01bc46b9/attachment.pgp>


More information about the Insight-developers mailing list