Gabriela,<br><br>You don&#39;t need to use ImageVoxel.<br><br>Please follow Charlotte&#39;s advice and use <br><br>     image-&gt;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 &quot;Data Representation&quot; 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">&lt;<a href="mailto:c.f.curtis@gmail.com">c.f.curtis@gmail.com</a>&gt;</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&lt;<a href="mailto:gabrielademiranda@gmail.com">gabrielademiranda@gmail.com</a>&gt; wrote:<br>
&gt; Hi all!<br>
&gt; 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&#39;t know the<br>
index, you can use an iterator (with index) to find the voxels you<br>
need.<br>
<div class="im"><br>
&gt; I guess that the class ImageVoxel is exactly what i need..<br>
&gt; How can I use it?<br>
<br>
</div>I don&#39;t think you&#39;re supposed to use that class directly, but I&#39;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>