[vtkusers] Picking in DICOM series

Liu_tj tjlp at netease.com
Sat Sep 16 00:23:18 EDT 2017


As there are several kind of coordinate system in VTK, you need to check the check values are world, viewport, normalized viewport coordinate.


Perhaps you can post your code here and the forum guys can help you.


Thanks


在2017-09-15,"Duster U" <aralol2015 at gmail.com> 写道: -----原始邮件-----
发件人:"Duster U" <aralol2015 at gmail.com>
发送时间:2017年09月15日 星期五
收件人:"Liu_tj" <tjlp at netease.com>
抄送:"vtkusers" <vtkusers at vtk.org>
主题:Re: [vtkusers] Picking in DICOM series


Hi Liu Peng,
I have tried different dicom samples of different resolutions.When i use a sample of 320*320,the max value that i get from the picker is 150*150,and this too varies with samples.when i tried with another 320*320 sample max value that i got was 160*160.


Thanks


On Thu, Sep 14, 2017 at 5:50 PM, Liu_tj <tjlp at netease.com> wrote:
How do you know the values are wrong?





在2017-09-14,"Duster U" <aralol2015 at gmail.com> 写道: -----原始邮件-----
发件人:"Duster U" <aralol2015 at gmail.com>
发送时间:2017年09月14日 星期四
收件人:"vtkusers" <vtkusers at vtk.org>
主题:[vtkusers] Picking in DICOM series





Hi,


I've been trying to implement a Picker in the OnMouseMove of a custom vtkinteractorstyleImage,so that i can get the pixel coordinates of an image while hovering over an image.Now I've tried both the Point Picker and the Prop Picker to do so,,both gives the coordinates but the problem is that the values are not correct.So am i missing anything?
and i am new to vtk,So please help me out


Thanks in Advance




 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170916/a26c2685/attachment.html>


More information about the vtkusers mailing list