Hi Stephen,<br><br><br>1) The most likely source of the problem is that you are <br> running out of memory.<br><br> a) How much RAM do you have ?<br> b) Do you have a 64bits operating system ?<br> c) Did you compile the application as a 64bits application ?<br>
<br> You may want to run the application again, as you monitor the <br> memory consumption (e.g. by using the TaskManager if you are <br> in Windows, or using the SystemMonitor if you are in Linux).<br><br><br>2) If your images are a series of 2D DICOM files you have two <br>
options:<br><br> a) You can convert them to a single file 3D image by using<br> the code in the Example:<br><br> Insight/Examples/Code/IO/<br> DicomSeriesReadImageWrite2.cxx<br>
<br> and then pass this 3D single file images as input to the<br> deformable application.<br><br> Or<br><br><br> b) You could combine the source code of the example in (a)<br> with the source code of the application that you are running<br>
now.<br><br><br> I will suggest that you start by doing (a), and only move into (b)<br> once you are comfortable writing ITK code.<br><br><br><br><br> Regards,<br><br><br> Luis<br><br><br><br>
<br>-----------------------------------------------------------------------------------<br><br><div class="gmail_quote">On Thu, Apr 8, 2010 at 5:11 PM, Stephen Yip <span dir="ltr"><<a href="mailto:stephen.fyip1@gmail.com">stephen.fyip1@gmail.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,<br><br>1. <br>I tried to registered two hdr files by using DeformableRegistration8.cxx. <br>
But I got the following feedback:<br><span style="color: rgb(255, 0, 0);">This application has requested the Runtime to terminate it in an unusual way.</span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">Please contact the application's support team for more information. </span><br><br>How can I fix it?<br><br>2. <br>DeformableRegsitration 8 only accepts two input files. What if my images are in 3D dicom file? They would have multi-slices. I am unsure how I can treat all these slices as one input file. <br>
<br>Thank you,<br><font color="#888888">stephen<br>
</font><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.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></blockquote></div><br>