<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 <richard.beare@gmail.com><br> <b><span style="font-weight: bold;">A:</span></b> Paolo Zaffino <p.zaffino@yahoo.it> <br><b><span style="font-weight: bold;">Cc:</span></b> "insight-users@itk.org" <insight-users@itk.org> <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 <<a ymailto="mailto:p.zaffino@yahoo.it" href="mailto:p.zaffino@yahoo.it">p.zaffino@yahoo.it</a>> wrote:<br>> Dear ITK community,<br>><br>> I would "translate" a FSL transformation file (.mat) into a ITK<br>> transformation file (.tfm)<br>> Has anyone any tips or code about this topic?<br>> I found this:<br>> <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>> I compiled it without problems, but in runtime it crashed (segmentation<br>> fault).<br>> Anyway reading that code doesn't seem that there is the possibility to<br>> convert the mat file...am I missing
something?<br>><br>> Thank you very much.<br>> Best regards.<br>><br>> Paolo<br>><br>> _____________________________________<br>> Powered by www.kitware.com<br>><br>> Visit other Kitware open-source projects at<br>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>><br>> Kitware offers ITK Training Courses, for more information visit:<br>> <a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>><br>> Please keep messages on-topic and check the ITK FAQ at:<br>> <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>><br>> Follow this link to subscribe/unsubscribe:<br>> <a href="http://www.itk.org/mailman/listinfo/insight-users"
target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>><br><br><br> </div> </div> </div></body></html>