[Insight-users] is that possible?

Luis Ibanez luis.ibanez at kitware.com
Tue Mar 27 09:28:27 EST 2007


Hi Tony,

Yes, it is possible to instantiate a transform
using "float" as its template parameters.

However, it is rarely worth to do it.

Transforms do not take much memory, so there is
not much you can gain by using "float" instead
of "double".


   Regards,


     Luis


------------------
tony hakki wrote:
> hi Dear ITK users;
>  
> I just want to ask that is it possible to define TransformType as float 
> when we implement Registration, I have to define it float, but it gives 
> a convertion error on that point  when I define it 
> float:registration->SetTransform( transform ); and also on the other 
> hand I haven't seen any registration example in which transformtype is 
> defined float,entire examples it is defined double? isn't it possible to 
> define like that:_
> 
> typedef itk::VersorRigid3DTransform< float > TransformType;
> 
> 
> ------------------------------------------------------------------------
> No need to miss a message. Get email on-the-go 
> <http://us.rd.yahoo.com/evt=43910/*http://mobile.yahoo.com/mail >
> with Yahoo! Mail for Mobile. Get started. 
> <http://us.rd.yahoo.com/evt=43910/*http://mobile.yahoo.com/mail >
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users


More information about the Insight-users mailing list