<div dir="ltr">Hello, <div><br></div><div>I am displaying a DICOM series using vtk and "navigating" through the slices using mouse interaction. I need to pick a pixel from the displayed image, and I expected to get something like an array of coordinates e.g: (142, 342, 13) assuming I can use this to actually fetch the data from the vtkImageData structure.</div>
<div><br></div><div>I tried to use the PickPixel and PickPixel examples from the wiki, but I get coordinates with negative numbers </div><div><br></div><div>(Location: ( -49.3894, 37.2297, -97.2094 )) </div><div><br></div>
<div>and don't know what to do with that. My goal is to be able to pick a pixel, get a coordinate and being able to use that coordinate to fetch the pixel color from the vtkImageData.</div><div><br></div><div>Any hints?</div>
<div><br></div><div>Regards,</div><div>Manuel.</div><div><br></div><div><br></div></div>