<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hello, <br><br>Thank you very much for your answer, it helps me a lot :) <br><br>--- On <b>Wed, 5/4/11, Neil Panjwani <i><paniwani@gmail.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Neil Panjwani <paniwani@gmail.com><br>Subject: Re: [Insight-users] How to get image resolution?<br>To: "Abayiz" <abayiz@yahoo.com><br>Cc: insight-users@itk.org<br>Date: Wednesday, May 4, 2011, 1:54 PM<br><br><div id="yiv1503289340">If by resolution you mean image spacing (usually in mm):<div><br></div><div>ImageType::SizeType spacing = image->GetSpacing();</div><div><br></div><div>spacing is a 1xN vector where N is the number of dimensions in your image<br>
<br><div class="yiv1503289340gmail_quote">On Wed, May 4, 2011 at 1:01 PM, Abayiz <span dir="ltr"><<a rel="nofollow" ymailto="mailto:abayiz@yahoo.com" target="_blank" href="/mc/compose?to=abayiz@yahoo.com">abayiz@yahoo.com</a>></span> wrote:<br><blockquote class="yiv1503289340gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hello all,<br>
<br>
I am using the Demons algorithm code provided in ITK to register dicom files, and get the result. Now I want to know the resolution of the result data. How can I confirm it?<br>
<br>
Thank you in advance.<br>
<br>
Abayiz<br>
_____________________________________<br>
Powered by <a rel="nofollow" target="_blank" href="http://www.kitware.com">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a rel="nofollow" target="_blank" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a rel="nofollow" target="_blank" href="http://www.kitware.com/products/protraining.html">http://www.kitware.com/products/protraining.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a rel="nofollow" target="_blank" href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a rel="nofollow" target="_blank" href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a><br>
</blockquote></div><br></div>
</div></blockquote></td></tr></table>