[vtkusers] Get scalar values of vtkImageData in world coordinates

Jothy jothybasu at gmail.com
Mon Aug 8 06:11:54 EDT 2011


Hi all,

Is it possible to get the scalar values in vtkImageData in world
coordinates. I mean we could get the values bu
vtkImageData->GetScalarComponentAsDouble(x,y,z,0). X,y,z are the voxel
indices, if my origin is at the centre of the image, I would like to get the
value by (x=0,y=0,z=0,0).

Any suggestions?

Thanks

Jothy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110808/4f90cc46/attachment.htm>


More information about the vtkusers mailing list