[vtkusers] [Insight-users] Get the selection point in screen (pixel) coordinates
Xiaopeng Yang
yxp233 at postech.ac.kr
Mon Nov 29 18:25:00 EST 2010
Hi
Actually I do not need the world coordinates. What I need is called “Index”. Have you tried to use MITK? In MITK, if you select a point, then on the right bottom of the screen, information of that point like “world position”, “Index”, “pixel value” appears. As you know, seed point setting in ITK segmentation uses “Index”, not “world position”. Am I right?
Thanks,
Xiaopeng
发件人: David Doria [mailto:daviddoria at gmail.com]
发送时间: 2010년 11월 29일 월요일 오후 11:58
收件人: yxp233 at postech.ac.kr
抄送: vtkusers at vtk.org; insight-users at itk.org
主题: Re: [Insight-users] Get the selection point in screen (pixel) coordinates
2010/11/29 Xiaopeng Yang <yxp233 at postech.ac.kr>
Please help me. I really need your help!
I think screen coordinates will always have a z coordinate value of 0. Try getting the picked point in world coordinates. This is probably what you want anyway, right? If you get the picked point in screen coordinates, if you translate the object and then pick the "same" point, you will get a different value. I doubt this is what you want.
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101130/5ef8bd30/attachment.htm>
More information about the vtkusers
mailing list