[Insight-users] Help needed: memory Leak in ReconstructionByDilationImageFilter

qi yang tinaqiyang at gmail.com
Wed Sep 14 12:11:58 EDT 2011


 Hi,

I have a memory leaking problem bothered me for hours...

My VS2010 detected a big memory leak after "filter->Update()" of
ReconstructionByDilationImageFilter.
The related code is as following:

typedef itk::ReconstructionByDilationImageFilter<ImageType, ImageType>
FilterType;

FilterType::Pointer filter = FilterType::New();

filter->SetMarkerImage(markerImage);

filter->SetMaskImage(maskImage);
 filter->Update();

Do I need to release something after using the filter? What's the related
function?

Thanks for any tips!!

Thanks,
Tina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110914/eed8ffa5/attachment.htm>


More information about the Insight-users mailing list