<br>Hi Raquel,<br><br><br>In oder to find the pixel spacing of a DICOM image <br>you can use:<br><br><br>Method (A): Load the image and call: reader->GetOutput()->Print(std::cout);<br><br>Method (B): Load the image and call:<br>
std::cout << reader->GetOutput()->GetSpacing() << std::endl;<br><br>Method (C): Use the example:<br> Insight/Examples/IO/DicomImageReadPrintTags.cxx<br> and grep for <br> (0028|0030) Pixel Spacing<br>
<br> you should see something like:<br> (0028|0030) Pixel Spacing = 0.93359375\0.93359375<br>
(which are the spacing in X and Y)<br><br><br>Method (D): Use VV (<a href="http://www.creatis.insa-lyon.fr/rio/vv">http://www.creatis.insa-lyon.fr/rio/vv</a>) <br> load the image and look at the image information <br>
<br>Method (E): Use Slicer (<a href="http://www.slicer.org">www.slicer.org</a>) load the image and<br> look at the image information <br><br>Method (F): Use MRIConvert :<br> <a href="http://lcni.uoregon.edu/~jolinda/MRIConvert/">http://lcni.uoregon.edu/~jolinda/MRIConvert/</a><br>
load one slice and look at the DICOM tags, just as with<br> method (C).<br><br><br> Regards,<br><br><br> Luis<br><br>--------------------------------------------------------------------------------------<br>
<div class="gmail_quote">On Fri, Sep 4, 2009 at 12:48 PM, Raquel Itk <span dir="ltr"><<a href="mailto:raquelitk@gmail.com">raquelitk@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;">
Hi,<br><br>First of all, tanks a lot because you helped me in a lot of situations during my project. Now, I have a new doubt. I work with image CT in DICOM format, I'll find holes with an area of a 25-mm, so I want to know which is a scale of pixels in my image. I suppose that information is in the header DICOM but I don't know how I could find. Any suggestions?<br>
<br>Thanks a lot<br><font color="#888888"><br>Raquel<br>
</font><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>
<br></blockquote></div><br>