Hi,
I think the class ImageToVTKImageFilter causes a memory leak at the
time it is destroyed.
The class destructor
template <class TInputImage>
ImageToVTKImageFilter<TInputImage>
::~ImageToVTKImageFilter()
{
}
is missing the line
m_Importer->Delete() ;
for the private vtkImageImport * object.
- Diego