<div dir="ltr">I actually did exactly this in one of my projects [1]. Take a look, and let me know if this isn't what you're trying to do. There's probably a more generic example of doing this here [2].<div><br>
</div><div>[1] <a href="https://github.com/chrismullins/VesselRegistration/blob/master/vesselRegistration.cxx#L98">https://github.com/chrismullins/VesselRegistration/blob/master/vesselRegistration.cxx#L98</a></div><div>[2] <a href="http://www.na-mic.org/svn/Slicer3-lib-mirrors/trunk/Insight/Examples/IO/TransformReadWrite.cxx">http://www.na-mic.org/svn/Slicer3-lib-mirrors/trunk/Insight/Examples/IO/TransformReadWrite.cxx</a></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Feb 18, 2013 at 10:21 AM, ronn kling <span dir="ltr"><<a href="mailto:ronn@rlkling.com" target="_blank">ronn@rlkling.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">All,</span><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">I'm new to ITK, so I may be asking a simple question.</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I'm successfully registering two volumes with VersorRigid3DTransform. What I want to do is save the transform to disk so that the next time I read the two volumes in I can just apply the transform and go on my merry way. The problem is, I don't see how to do it. My first thought was that I could save the versor and then reload it into the ResampleImageFilter, but I don't see how to do that. </div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">If someone could point me to an example or a previous post on this list, I would appreciate it.</div>
</div>
<br>_____________________________________<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.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></blockquote></div><br><br clear="all"><div><br></div>-- <br>Christopher Mullins<div>R&D Engineer</div><div>Kitware Inc.,</div><div>919.869.8871</div>
</div>