<DIV>
<DIV>Dear VTKians,</DIV>
<DIV>Thanks in advance for any help that you may provide. I want to click on a image rendered with an image. From the coordinates on the window I would like to determine the first voxel the casting ray hits. How do I do that? </DIV>
<DIV>&nbsp;</DIV>
<DIV>Mike<BR><BR><B><I>jiang &lt;jiang@TI.Uni-Trier.DE&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid"><BR>Dear VTK users,<BR>I have an image which is signed short type. If I want to display it as a<BR>grayscale [0,255], I should cast it to unsigned char type. I know setting<BR>different window width and window center to the image will get different<BR>result. It could be light or dard, show some details or not. I want to know,<BR>is there a such function in VTK so that I can set window width and window<BR>center easily?<BR><BR>Thank you very much!<BR><BR>Chunyan<BR><BR>_______________________________________________<BR>This is the private VTK discussion list. <BR>Please keep messages on-topic. Check the FAQ at: <HTTP: vtkfaq cgi-bin public.kitware.com><BR>Follow this link to subscribe/unsubscribe:<BR>http://www.vtk.org/mailman/listinfo/vtkusers</BLOCKQUOTE></DIV><p><hr SIZE=1>
Do you Yahoo!?<br>
<a href="http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=21260/*http://photos.yahoo.com">New Yahoo! Photos - easier uploading and sharing</a>