[vtkusers] coordinate transformation between polydata and image data

David Doria daviddoria at gmail.com
Wed Dec 8 16:09:06 EST 2010


imageData->FindPoint(x,y,z) will give you the index (vtkTypeId) of the
pixel/point in the ImageData that (x,y,z) is closest to.

I wrote a patch a while ago to convert from this linear index back to
(i,j,k) image coordinates, but I forgot to add reviewers!
http://review.source.kitware.com/#change,466 Hopefully you can look
for this soon.

David



More information about the vtkusers mailing list