<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><span></span></div><div><div><font face="times new roman, new york, times, serif">Hi,</font></div><div><font face="times new roman, new york, times, serif">Yes, I know, there is c3d_affine_tool.</font></div><div><font face="times new roman, new york, times, serif">The problem is that it writes a file in which the "Transform" field is set to "MatrixOffsetTransformBase_double_3_3" and ITK doesn't recognize it (an error is raised).</font></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><font face="times new roman, new york, times, serif"><br></font></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new
 roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><font face="times new roman, new york, times, serif"><br></font></div></div>  <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">Da:</span></b> Richard Beare &lt;richard.beare@gmail.com&gt;<br> <b><span style="font-weight: bold;">A:</span></b> Paolo Zaffino &lt;p.zaffino@yahoo.it&gt; <br><b><span style="font-weight: bold;">Cc:</span></b> "insight-users@itk.org" &lt;insight-users@itk.org&gt; <br> <b><span style="font-weight: bold;">Inviato:</span></b> Luned́ 10 Dicembre 2012 21:29<br> <b><span style="font-weight: bold;">Oggetto:</span></b> Re: [Insight-users] FSL transformation to ITK transformation<br> </font> </div> <br>There are some tools in the
 itksnap/convert3D packages that help with<br>this. I can't remember the names offhand.<br><br>On Tue, Dec 11, 2012 at 1:51 AM, Paolo Zaffino &lt;<a ymailto="mailto:p.zaffino@yahoo.it" href="mailto:p.zaffino@yahoo.it">p.zaffino@yahoo.it</a>&gt; wrote:<br>&gt; Dear ITK community,<br>&gt;<br>&gt; I would "translate" a FSL transformation file (.mat) into a ITK<br>&gt; transformation file (.tfm)<br>&gt; Has anyone any tips or code about this topic?<br>&gt; I found this:<br>&gt; <a href="http://www.na-mic.org/svn/NAMICSandBox/trunk/NonRigidRegistrationForEchoPlanarImaging/BSplineRegistration.cxx" target="_blank">http://www.na-mic.org/svn/NAMICSandBox/trunk/NonRigidRegistrationForEchoPlanarImaging/BSplineRegistration.cxx</a><br>&gt; I compiled it without problems, but in runtime it crashed (segmentation<br>&gt; fault).<br>&gt; Anyway reading that code doesn't seem that there is the possibility to<br>&gt; convert the mat file...am I missing
 something?<br>&gt;<br>&gt; Thank you very much.<br>&gt; Best regards.<br>&gt;<br>&gt; Paolo<br>&gt;<br>&gt; _____________________________________<br>&gt; Powered by www.kitware.com<br>&gt;<br>&gt; Visit other Kitware open-source projects at<br>&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>&gt;<br>&gt; Kitware offers ITK Training Courses, for more information visit:<br>&gt; <a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>&gt;<br>&gt; Please keep messages on-topic and check the ITK FAQ at:<br>&gt; <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>&gt;<br>&gt; Follow this link to subscribe/unsubscribe:<br>&gt; <a href="http://www.itk.org/mailman/listinfo/insight-users"
 target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>&gt;<br><br><br> </div> </div>  </div></body></html>