Hi Luis,<br><br>Thank you. I have the deformation working with the deformable transform now.<br><br>thank you,<br>john<br><br><div class="gmail_quote">On Sun, Nov 1, 2009 at 4:41 PM, Luis Ibanez <span dir="ltr"><<a href="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi John,<br>
<br>
You will find an example file with an AffineTransform in:<br>
<br>
Insight/Examples/Data/IdentityTransform.tfm<br>
<br>
<br>
This is a text file,<br>
and the content is:<br>
<br>
<br>
#Insight Transform File V1.0<br>
# Transform 0<br>
Transform: AffineTransform_double_3_3<br>
Parameters: 1 0 0 0 1.0 0.0 0 0.0 1.0 0 0 0<br>
FixedParameters: 0.0 0.0 0.0<br>
<br>
<br>
<br>
The "Parameters" are (in order) the coeficients of the<br>
rotation matrix, followed by the components of the<br>
translation vector.<br>
<br>
The "Fixed Parameters are the coordinates of the<br>
center of rotation.<br>
<br>
<br>
<br>
Regards,<br>
<br>
<br>
Luis<br>
<br>
<br>
--------------------------------------------------------------------------------<br>
<div><div></div><div class="h5">On Thu, Oct 29, 2009 at 12:53 AM, John Drozd <<a href="mailto:john.drozd@gmail.com">john.drozd@gmail.com</a>> wrote:<br>
> Hello,<br>
><br>
> I was reviewing DeformableRegistration8.cxx and I am wondering how to<br>
> pass the bulk affine transform to it. I do not understand how to<br>
> create the file of parameters from the affine transform that is read<br>
> by the deformable registration program.<br>
><br>
> Thank you,<br>
> John<br>
><br>
> --<br>
> John Drozd<br>
> Postdoctoral Fellow<br>
> Imaging Research Laboratories<br>
> Robarts Research Institute<br>
> Room 1256<br>
> 100 Perth Drive<br>
> London, Ontario, Canada<br>
> N6A 5K8<br>
> <a href="mailto:jdrozd@imaging.robarts.ca">jdrozd@imaging.robarts.ca</a><br>
</div></div><div><div></div><div class="h5">> _____________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><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.html" target="_blank">http://www.kitware.com/products/protraining.html</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>
</div></div></blockquote></div><br>