[Insight-users] System Memory--

Luis Ibanez luis.ibanez@kitware.com
Fri, 25 Apr 2003 12:57:54 -0400


Hi Sateesh,

I agree with you in that 1Gb is too much memory
for performing the registration of your current
images using a single resolution level.

This may require to profile the example closer.
One typical suspect is the computation of derivatives
in the ImageMetric. In any case, it is quite likely
that some intermediate memory is being keept around
without being used.

The option I mention of loading only particular
levels of the pyramid is something you will have to
implement in your applications. This is not a feature
of the current multi-resolution framework.


Regards,


   Luis


-------------------

cspl wrote:
> Hi Lius,
>     Thanks for ur mail.
>     As u said i tried Registration by reducing the number of levels to 
> 1. It is performing registration with out any error but it takes more 
> memory as i said before. It is taking nearly 1000Mb of memory. It is too 
> heavy.
>  
>    Now how to load the memory related to particular level of the 
> pyramid. When we are in 1st level we should load only images related to 
> 1st level. Then when we are in 2nd level we should deallocate the 1st 
> level memory and load the second level memory and so on...How to achive 
> this task. I have gone through the documentation of the registration 
> class and pyramid class for any specific function which serves the 
> purpose. But i did not find one...Any other way to achive this.
>  
>     I am trying the second method which u have said i.e. subsampling the 
> images, registering them, save the transform parameters and so on.
>  
>     Please help in this regard. Time is running out for me.
>  
>    Thanks in advance.
>  
> -Regards,
>       Sateesh.