[Insight-users] Saving Deformation field values for Deformable registration

Luis Ibanez luis.ibanez at kitware.com
Thu Feb 19 11:40:11 EST 2009


Hi Raj,

For examples on how to save a deformation field,
please look at


      Insight/Examples/Registration/

DeformableRegistration10.cxx:    typedef itk::ImageFileWriter< 
DeformationFieldType > FieldWriterType;
DeformableRegistration12.cxx:    typedef itk::ImageFileWriter< 
DeformationFieldType >  FieldWriterType;
DeformableRegistration13.cxx:    typedef itk::ImageFileWriter< 
DeformationFieldType >  FieldWriterType;
DeformableRegistration14.cxx:    typedef itk::ImageFileWriter< 
DeformationFieldType >  FieldWriterType;
DeformableRegistration15.cxx:    typedef itk::ImageFileWriter< 
DeformationFieldType >  FieldWriterType;
DeformableRegistration16.cxx:  typedef itk::ImageFileWriter< 
DeformationFieldType >  DeformationWriterType;
DeformableRegistration17.cxx:  typedef itk::ImageFileWriter< 
DeformationFieldType >  DeformationWriterType;
DeformableRegistration2.cxx:  typedef itk::ImageFileWriter< 
DeformationFieldType > FieldWriterType;ype;
DeformableRegistration3.cxx:  typedef itk::ImageFileWriter< 
DeformationFieldType > FieldWriterType;
DeformableRegistration4.cxx:  typedef itk::ImageFileWriter< 
DeformationFieldType >  FieldWriterType;
DeformableRegistration5.cxx:  typedef itk::ImageFileWriter< 
DeformationFieldType > FieldWriterType;
DeformableRegistration6.cxx:  typedef itk::ImageFileWriter< 
DeformationFieldType >  FieldWriterType;
DeformableRegistration7.cxx:    typedef itk::ImageFileWriter< 
DeformationFieldType >  FieldWriterType;
DeformableRegistration8.cxx:    typedef itk::ImageFileWriter< 
DeformationFieldType >  FieldWriterType;
DeformableRegistration9.cxx:    typedef itk::ImageFileWriter< 
DeformationFieldType > FieldWriterType;
DeformationFieldInitialization.cxx:#include "itkImageFileWriter.h"
DeformationFieldInitialization.cxx:#include "itkImageFileWriter.h"
DeformationFieldInitialization.cxx:  typedef itk::ImageFileWriter< 
DeformationFieldType  > WriterType;



The fileformats that you may want to use are:

      A) MetaImage ( extension .mhd)
      B) VTK (extension .vtk)

In order to visualize the deformation fields,
both of these fileformats can be loaded in to

      1) ParaView
      2) VV http://www.midasjournal.org/browse/publication/288



    Regards,




-------------------
Raj, Rejitha wrote:
> Hi,
> 
> I am a beginner so I am not very familiar with all the ITK 
> functionalities. Started with registration and trying deformable 
> registration. But I am not sure how to save the deformation fields.
> 
> I am trying to store the deformation field, the pointer to which I 
> obtain from warper->GetDeformationField() where warper is a pointer of 
> type itk::WarpImageFilter<>.
> 
> In what formats the deformation fileds can be saved?
> 
> Also please let me know how can I execute and debug the example 
> applications given in Examples folder.
> 
> Regards,
> 
> Rejitha
> 
> 
> ------------------------------------------------------------------------
> The information contained in this message may be confidential and 
> legally protected under applicable law. The message is intended solely 
> for the addressee(s). If you are not the intended recipient, you are 
> hereby notified that any use, forwarding, dissemination, or reproduction 
> of this message is strictly prohibited and may be unlawful. If you are 
> not the intended recipient, please contact the sender by return e-mail 
> and destroy all copies of the original message.
> 
> 
> ------------------------------------------------------------------------
> 
> _____________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> 
> 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


More information about the Insight-users mailing list