[Insight-users] Failure to allocate memory in the InsightApplications/FastMarchingLevelSet project

Luis Ibanez luis.ibanez at kitware.com
Wed Sep 9 09:12:32 EDT 2009


Hi Frederic,

How much RAM do you have in your computer ?

--

If your total amount of RAM is too restricted, you may have
to deconstruct this application and run it by stages, saving
intermediate images to files and reading them back.

One first thing you can separate is the smoothing of the
input image. That is, you can smooth the image as a
preprocessing step (with a command line program).

Then you could also remove the post-processing, and
simply save the FastMarching output to a file.

You may find easier to do this with the source code of
the example:

Insight/Examples/Segmentation/
FastMarchingImageFilter.cxx

than with the source code of the application in
InsightApplications.



       Regards,


               Luis


-------------------------------------------------------------------------------
2009/9/8 frédéric salvador <frederic.salvador at gmail.com>

> Dear all,
>
>
> I am currently using the FastMarchingLevelSet project provided in
> InsightApplications.
> 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:
>
> *itk::ExceptionObject <00ACF02C>
> Location: "float *__thiscall itk::ImportImageContainer<unsigned long,
> float>::AllocateElements<unsigned long> const"
> File: insighttoolkit-3.14.0/code/common/itkImportImageContainer.txx
> Line: 188
> Description: Failed to allocate memory for image*
>
> Is there any chance to solve this problem?
> Thank you very much on advance for your answer.
>
> Best regards
>
>
> Fred
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090909/58ad871c/attachment.htm>


More information about the Insight-users mailing list