Hi Mat,<br><br>1. try something like this: ImageType::SizeType size = getYourImageSomeHow-&gt;GetLargestPossibleRegion().GetSize();<br><br>2. I don&#39;t know, sorry.<br><br>Michel<br><br><div class="gmail_quote">2009/10/2 Matthias Dodt <span dir="ltr">&lt;<a href="mailto:matthias.dodt@mdc-berlin.de">matthias.dodt@mdc-berlin.de</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi ITK users!<br>
<br>
I got two simple questions:<br>
<br>
1. How do i get the pixel resolution of an image?<br>
<br>
2. I want to process sub-images of my image seperately by an algorithm. Is there an easy way to cut sub-images out of a source image?<br>
<br>
thanks in advance!<br>
<br>
greetings<br>
<br>
mat<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>