[ITK] ImportImageFilter memory

Fijoy Vadakkumpadan tofijoy at gmail.com
Mon Jul 24 14:03:44 EDT 2017


Hello,

>From reading the ITK documentation & source code comments, it appears that
the itk::ImportImageFilter does not allocate new pixel buffer for the image
that it creates. It simply uses the buffer that's passed to it via
SetImportPointer(). Is this correct?

If yes, is there a flag that I can set for the ImportImageFilter to
allocate buffer for the output image? Or, should I use another filter to
create a deep-copy of the image that's created by ImportImageFilter, to
ensure that the final output image is independent of the buffer passed to
the ImportImageFilter?

Thanks,
--Fijoy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20170724/122d1780/attachment.html>


More information about the Community mailing list