[Insight-users] Passing a vector image from itk to vtk

Joel Schaerer joel.schaerer at creatis.insa-lyon.fr
Tue Jun 21 12:24:30 EDT 2005


Hi all,

I need to pass vector images (that is, 3 components) from itk back to 
vtk for visualisation. The problem is that this operation is apparently 
unsupported by itk at the moment:

 From the itk documentation: "Currently VTKImageExport does not support 
pixel types with multiple components (like RGBPixel)."

I suppose the reason it wasn't done is that it would require to actually 
scan and convert the image in memory, and implementing it seems pretty 
complex.

Two questions:

1) Does anybody have code to do this?

2) What would be the best/easiest way to do it?

thanks!


More information about the Insight-users mailing list