[Insight-users] itkImageSource for block of memory

Bill Lorensen bill.lorensen at gmail.com
Fri Jun 19 07:14:21 EDT 2009


Take a look at BasicFilters/itkImportImageFilter

On Fri, Jun 19, 2009 at 6:34 AM, Koen Vermeer<koen at vermeer.tv> wrote:
> Hi,
>
> When interfacing ITK from a different program, I already have my image
> in memory. When applying ITK operations, I now first copy the image into
> an itk::Image. For small images, that's not that much of a problem, but
> for large 3D data sets, I'd rather avoid this.
>
> The best way to that that is probably to define some itkImageSource for
> a block of memory. I assume that writing such a class wouldn't be too
> difficult, but looking at itkImageSource, I have no idea where to start.
>
> Does the approach of writing an itkImageSource for this purpose sound
> right? What methods should I override?
>
> My final goal is to use this as an interface to Matlab data.
>
> Best,
> Koen
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>


More information about the Insight-users mailing list