Hi.<div><br></div><div>I would try to explain my problem the best I can.</div><div><br></div><div>I have some ultrasound images that have certain position, orientation and scale in a world space coordinate.</div><div><br></div>
<div>To display each image in vtk scene I have used vtkTransform in the vtkImageActor for each image:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>actor->SetInput(image);</div>
<div>actor->SetTransform(transform);</div></blockquote><div><br></div><div>I´m able to display the images in the correct position and orientation in the vtk scene. This has not been a problem.</div><div><br></div><div>
Now, the problem I have is that I want to access the vtkImageData from its world space coordinate, not the image coords.</div><div><br></div><div>Example if I want to access the pixel (0,0,0) image coords meaning the first pixel of the imageData, and I know that this pixel is located in</div>
<div>the coordinate (100,130,89) in the world space. How can I access to the data of this pixel using the world space coordinates? Can I access</div><div>the imageData from the actor?</div><div><br></div><div>-- <br>Fabián Torres Robles<br>
Maestria en Ciencias en Ingeniería Electrónica<br>Ingeniería en Sistemas Electrónicos<br>tel. 58081280, 0445534661338<br>e-mail <a href="mailto:fabian.trobles@gmail.com" target="_blank">fabian.trobles@gmail.com</a>, <a href="mailto:dae.wong@gmail.com" target="_blank">dae.wong@gmail.com</a> <div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%">
</div><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%"></div><br>
</div>