[ITK-users] [ITK] Cast ITKv4 Transform from Float to Double

Matt McCormick matt.mccormick at kitware.com
Tue Apr 1 14:46:40 EDT 2014


Hi Emma,

Is there a self-contained, build example that illustrates the issue?

The TransformFile{Writer,Reader} classes use an internal
TransformIOHelper that has (not yet) exposed functionality to convert
precision.

HTH,
Matt

On Tue, Apr 1, 2014 at 2:18 PM, Emma Saunders <emmasaunders123 at gmail.com> wrote:
> Hi everyone
>
> I am attempting to combine an affine and deformation field transforms all
> defined as float, using the
>
> itk::CompositeTransform<float, Dimension> CompositeTransformType
>
> From previous listings I have identified that this filter crashes when used
> with floats.  Is there a way therefore to convert my affine transform and
> displacement fields to double?
>
> Thanks
>
> Emma
>
> _____________________________________
> 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://www.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-users
>
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/community
>


More information about the Insight-users mailing list