简体   繁体   中英

How to get voxel coordinates(as in ITK snap ) from vtkimage viewer from mouse click

I am trying to use ITK's region growing algorithm for medical image segmentation. So to put the seedpoint i need exact voxel coordinates of the mouseclick position in my vtkimageviewer. So how can I get those voxel coordinates(as in ITK snap tool) from my vtkimage viewer. Currently I am able to get VTK World Coordinates using pick point picker. Now how to convert this vtk world coordinates to voxel coordinates as in ITK snap tool … Please help me with this information.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM