[Insight-developers] memory management in ITK for 3D registration

Luis Ibanez luis.ibanez at kitware.com
Sat Jul 11 07:07:14 EDT 2009


Hi Kevin,

You have already identified the typical solutions:

1) Decrease the image region of interest

2) Delete unused objects
    (if you have a pipeline you may call in some
     filters the method SetReleaseDataFlag(true).


About your last question:

  No, the fixed image doesn't have to have more
  slices than the moving image.


    Regards,


         Luis

--------------------------------------------------------------------
On Wed, Jul 1, 2009 at 8:16 AM, kevin cavin <beibeiwen2003 at yahoo.com> wrote:

> Hi, Guys:
>
>     I am trying use ITK to register 3D volume. I noticed that when my slice
> numbers reach certain level, the error comes up as "cound not allocate
> memory ". I am wondering whether there are means to solve this
>
>   So far the solution I have in mind
>
> 1 decrease the image region of interest
> 2  delete object not using any more
> 3 add more RAM in computer
>
>     Since I am using python, there are some routine I can not use to
> diagnosis the probem such as itkMemory Probe.
>
>    By the way , for 3D registration, is it necessary that moving images
> should have more slices than fixed images. Thanks !
>
>
> Kind regards
>
>
> Wen
>
>
> _______________________________________________
> 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-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20090711/e442de9b/attachment.htm>


More information about the Insight-developers mailing list