<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=GB2312" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Gourong,<br>
<br>
The deformation field is just an image with vector values at each
pixel. The file format will depend on what you specify in the command
line params in the program. You could store it as a .mhd file. <br>
<br>
Just in case your intent is tovisualize the field or play with it, you
could avoid writing a reader by using Paraview. <br>
See sect 8.14 of the software guide: <a class="moz-txt-link-freetext"
 href="http://www.itk.org/ItkSoftwareGuide-2.0.0.pdf">http://www.itk.org/ItkSoftwareGuide-2.0.0.pdf</a>
for details on how to visualize 2D/3D deformation fields in paraview.
For more details, there is the Paraview Guide book<br>
<br>
thanks<br>
kk<br>
<br>
Guorong Wu wrote:
<blockquote cite="mid20050307141243.C3363629E3@mx.sjtu.edu.cn"
 type="cite">
  <pre wrap="">Hello ITK:
    I've performed a non-rigid registration algorithm of ITK (DeformableRegistration5.cxx) and got the deformation file. I want to write a C program outside of ITK to read this output file. But I don't know how this output deformation file is organized. Would you help me? thanks.                        

        Guorong Wu
        <a class="moz-txt-link-abbreviated" href="mailto:grwu@sjtu.edu.cn">grwu@sjtu.edu.cn</a>
          2005-03-07

=============================================================
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
=============================================================
  </pre>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Insight-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Insight-users@itk.org">Insight-users@itk.org</a>
<a class="moz-txt-link-freetext" href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a>
  </pre>
</blockquote>
<br>
</body>
</html>