[vtkusers] Pointer to pixels.

Jordi Inglada jordi.inglada at cnes.fr
Tue Dec 12 08:40:50 EST 2000


Hello all.

I am taking my first steps with Vtk. Since I have a considerable
amount of code written by myself for image processing stuff, I would
like to reuse it together with vtk. In order to do this I need to put
the output of some image filters into, let's say, an array of
floats. If aFilter->GetOutput() returns a pointer of type
vtkImageData, how can I individually access the pixels?

Thanks.

-- 
Jordi Inglada
CNES - Centre Spatial de Toulouse
DSO/OT/QTIS/SR - BPI 811
18, avenue Edouard Belin
31401 Toulouse Cedex 04 - France
Tel. +33.(0)5.61.27.33.97 - Fax. +33.(0)5.61.28.31.09




More information about the vtkusers mailing list