<br>Hi Frederic,<br><br>How much RAM do you have in your computer ?<br><br>--<br><br>If your total amount of RAM is too restricted, you may have <br>to deconstruct this application and run it by stages, saving<br>intermediate images to files and reading them back.<br>
<br>One first thing you can separate is the smoothing of the<br>input image. That is, you can smooth the image as a <br>preprocessing step (with a command line program).<br><br>Then you could also remove the post-processing, and<br>
simply save the FastMarching output to a file.<br><br>You may find easier to do this with the source code of <br>the example:<br><br>Insight/Examples/Segmentation/<br>FastMarchingImageFilter.cxx<br><br>than with the source code of the application in <br>
InsightApplications.<br><br><br><br>       Regards,<br><br><br>               Luis<br><br><br>-------------------------------------------------------------------------------<br><div class="gmail_quote">2009/9/8 frédéric salvador <span dir="ltr">&lt;<a href="mailto:frederic.salvador@gmail.com">frederic.salvador@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Dear all,<br><br><br>I am currently using the FastMarchingLevelSet project provided in InsightApplications.<br>
It runs perfectly with a CT of the brain which size is 512 * 512 * 66, but I get the following failure with a CT of the abdomen of size 512 * 512 *343:<br>
<br><i>itk::ExceptionObject &lt;00ACF02C&gt;<br>Location: &quot;float *__thiscall itk::ImportImageContainer&lt;unsigned long, float&gt;::AllocateElements&lt;unsigned long&gt; const&quot;<br>File: insighttoolkit-3.14.0/code/common/itkImportImageContainer.txx<br>

Line: 188<br>Description: Failed to allocate memory for image</i><br><br>Is there any chance to solve this problem?<br>Thank you very much on advance for your answer.<br><br>Best regards<br><br><br>Fred<br>
<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>
Please keep messages on-topic and check the ITK FAQ at: <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>