[Insight-users] how can I generate the deformaion graph in ITK?

Luis Ibanez luis.ibanez at kitware.com
Fri Aug 6 21:33:22 EDT 2004


Hi Guorong,

.rar is an unusual compression format. Please when sending
images use more common formats such as JPEG, PNG or TIFF.

In any case,
If you want to produce a deformed grid illustrating the
deformation field, you can simply create an image with a
rectilinear grid. Then deform it by resampling with the
WarpImageFilter:

http://www.itk.org/Insight/Doxygen/html/classitk_1_1WarpImageFilter.html

You will find examples on the use of this filter in the
directory

    Insight/Examples/Registration/
                        DeformableRegistration2.cxx
                        DeformableRegistration3.cxx
                        DeformableRegistration5.cxx
                        LandmarkWarping2.cxx


In order to create the input image with a rectilinear
grid you can use LinearImageIterators. Please read the
chapter on ImageIterators in the ITK SoftwareGuide.


     http://www.itk.org/ItkSoftwareGuide.pdf


Regards,


   Luis


------------------------------------------------------------
Guorong Wu wrote:

> hi:
> 	If I have computed the deformation field, how can I generate the deformed grid like the file I attached in ITK? Thanks. 			
> 
>         Guorong Wu
>         grwu at sjtu.edu.cn
>           2004-08-05
> 
> =============================================================
> Guorong Wu	
> The Department of Computer Science and Technology
> Shanghai Jiao Tong University
> 1954 Huashan RD
> Shanghai China    
> 200030
> Tel:  +86 21 3226 1236  , 6293 2089
> =============================================================
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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