[Insight-developers] image PixelType when using RegistrationMetricv4

Nicholas Tustison ntustison at gmail.com
Thu Jan 17 10:55:49 EST 2013


Yeah, this is a legacy issue that we need to address but I don't know how 
easy it's going to be.  It's due to the fact that the transform framework requires
double type which predates our work.  Brian, Michael and I will have to 
discuss this to see if we can fix it or at least minimize the places where double
is required.  

Nick


On Jan 17, 2013, at 10:50 AM, Xiaoxiao Liu <xiaoxiao.liu at kitware.com> wrote:

> Hi Nick, 
>    With the recent changes in the RegistrationMetricv4, seems that the PixeType of an image needs to be always set to double? 
>    Old registration code  that with float type fails to compile, but runs fine with double : https://github.com/InsightSoftwareConsortium/ITKv4-TheNextGeneration-Tutorial/commit/20df5ac66d43061b5d1ca3665dd1712a5986a879
>    The internal parameter measurements are using double, but is there a reason to require the image type to be double as well? Am I missing something?
>    Please give me some pointers. Thanks.
> 
> -- Xiaoxiao
> 
> 
> ---------------------------------------------
> Xiaoxiao Liu, Ph.D.
> R & D Engineer
> Kitware Inc.
> Clifton Park, NY
> Phone: (518) 881-4924  or  (518) 371-3971 x124
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-developers/attachments/20130117/3383cad5/attachment.htm>


More information about the Insight-developers mailing list