Hi Luis, <br><br>I changed "hdr" to "png". But then I got the following error message. <br><br>"This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information." <br>
<br>stephen<br><br><div class="gmail_quote">On Sat, Mar 27, 2010 at 12:36 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 Stephen,<br>
<br>
Please read the source code of the example.<br>
<br>
You will find the ".hdr" extensions in lines:<br>
<br>
<br>
269: std::string ofn="fixed.hdr";<br>
<br>
274: ofn="moving.hdr";<br>
<br>
<br>
Simply replace this extensions with the ones<br>
that you want to use.<br>
<br>
------<br>
<br>
Being able to read the source code, and<br>
being allowed to modify it, is one of the<br>
essential reasons for the superiority of<br>
Open Source software.<br>
<br>
<br>
Take advantage of it. :-)<br>
<br>
<br>
<br>
Regards,<br>
<br>
<br>
<br>
Luis<br>
<br>
<br>
<br>
------------------------------------------------------------<br>
<div><div></div><div class="h5">On Fri, Mar 26, 2010 at 10:39 AM, Stephen Yip <<a href="mailto:stephen.fyip1@gmail.com">stephen.fyip1@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I just played with the DeformableRegistration1.cxx example. It worked. But I<br>
> got hdr files as my outputs. I am wondering how I can change the file types<br>
> from hdr to something else.<br>
><br>
> Thank you<br>
> Stephen<br>
><br>
><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>
><br>
</div></div></blockquote></div><br>