[Insight-users] memory allocation

Luis Ibanez luis.ibanez at kitware.com
Thu, 22 Jan 2004 13:53:17 -0500


Hi Silvano,

Did you already tried the "Buffer Mummification" method ?

http://www.itk.org/pipermail/insight-users/2004-January/006352.html


   Luis


---------------------------
Silvano Agliozzo wrote:

> Hi to everybodies,
> 
> I need to keep the memory, allocated by a itk filter declared in a member 
> function of a class, available even after the end of this function.
> 
> 1. I tried with filter->SetReleaseDataFlag(false)
> 
> but it doesn't work.
> 
> 2. I also tried by importing a buffer in an itk image and once the image 
> is 
> obtained by the filter output to recover the pointer of this image with 
> Image->GetBufferPointer(), but that doesn't work as well.
> 
> 3. The Image duplicator produce a negative result as well.
> 
> I would like to know solve that.
> 
> Thank in advance,
> 
> a+
> 
> Silvano 
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>