Gabriela,<br><br>You don't need to use ImageVoxel.<br><br>Please follow Charlotte's advice and use <br><br> image->TransformIndexToPhysicalPoint( index, point )<br><br>You will find more information about this in the<br>
ITK Software Guide<br><br> <a href="http://www.itk.org/ItkSoftwareGuide.pdf">http://www.itk.org/ItkSoftwareGuide.pdf</a><br><br>in the "Data Representation" chapter<br><br><br>Regards,<br><br><br> Luis<br>
<br><br>----------------------------------------------------------------------------<br><div class="gmail_quote">On Thu, Jun 25, 2009 at 12:44 PM, Charlotte Curtis <span dir="ltr"><<a href="mailto:c.f.curtis@gmail.com">c.f.curtis@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On Wed, Jun 24, 2009 at 12:07 PM, Gabriela de<br>
Miranda<<a href="mailto:gabrielademiranda@gmail.com">gabrielademiranda@gmail.com</a>> wrote:<br>
> Hi all!<br>
> I need to access the coordinates x, y and z of a voxel.<br>
<br>
</div>How are you getting the information about which voxel? Do you know<br>
the index? If so, you can just use<br>
itk::Image::TransformIndexToPhysicalPoint. If you don't know the<br>
index, you can use an iterator (with index) to find the voxels you<br>
need.<br>
<div class="im"><br>
> I guess that the class ImageVoxel is exactly what i need..<br>
> How can I use it?<br>
<br>
</div>I don't think you're supposed to use that class directly, but I'm not<br>
sure on that one.<br>
<br>
Good luck,<br>
<br>
Charlotte<br>
_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at: <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
</blockquote></div><br>