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 <[email protected]> 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 >
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Kitware offers ITK Training Courses, for more information visit: http://kitware.com/products/protraining.php Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ Follow this link to subscribe/unsubscribe: http://www.itk.org/mailman/listinfo/insight-developers
