[Insight-users] memory allocation
Silvano Agliozzo
agliozzo at isiosf.isi.it
Thu, 22 Jan 2004 19:21:40 +0100 (CET)
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