[Insight-users] Failed to allocate memory on Registration

Andreas Schuh andreas.schuh.84 at googlemail.com
Wed Mar 4 11:00:49 EST 2009


Hi Sven,

consider the ResampleImageFilter to resample your image(s) on a  
coarsor grid.

--
regards
Andreas

Am 04.03.2009 um 16:35 schrieb "Fischer, Sven" <Sven.Fischer at medizin.uni-leipzig.de 
 >:

> Dear all,
>
>
>
> I want to do a Registration between MRT and CT image. I use Mattes  
> Mutual Information and a Multi resolution registration. My images  
> have 9011200 and 181665792. Pixel Type is signed short. Doing the  
> registration I get the Failed to allocate memory error.
>
>
>
> itk::ExceptionObject (0180F850)
>
> Location: "float *__thiscall itk::ImportImageContainer<unsigned  
> long,float>::All
>
> ocateElements(unsigned long) const"
>
> File: c:\src\openmaf\libraries\itk\sources\insighttoolkit-3.2.0\code 
> \common\itkI
>
> mportImageContainer.txx
>
> Line: 188
>
> Description: Failed to allocate memory for image.
>
>
>
> So I would like to know if there is a filter I can use to scale down  
> the memory usage of the bigger image. I think I could use the  
> ShrinkImageFilter for that, but I want to keep the origin of my  
> image. I appreciate for any suggestion that could help.
>
>
>
> Cheers,
>
> Sven
>
> _____________________________________
> 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/20090304/8deb82ce/attachment-0001.htm>


More information about the Insight-users mailing list