[Insight-users] converting vtkImageData to itk::image
Liam Kurmos
quantum.leaf at googlemail.com
Wed Jul 21 12:03:40 EDT 2010
Hi All,
I'm just getting started with ITK.
The first thing i need to do is get the data in my 3d vtkImageData
into ITK. Copy the data pixel by pixel would be very inefficient, i
think the underlying data array should be in the same format so it
should be possibly to avoid copying?
I have googled extensively but most things i found seemed to involve
importing files or otherwise more elaborate than i need (surely its
possible to do this with a few lines of code?). Others such as
VTKImageToImageFilter seem to have been depreciated.
can someone give me some pointers,
Liam
More information about the Insight-users
mailing list