<div dir="ltr"><div><div>Dear Shandra,<br>the dimension is always associated with an image.<br><br></div>Usually you would request the largest possible region of your image, and then you would be able to know the number of dimensions of that region's size [1].<br>
<br></div><div>Otherwise, you can get the number of dimensions through the ImageIOBase class, as in this [2] example.<br><br></div>HTH,<br>JON HAITZ<br><br>[1] <a href="http://itk.org/ITKExamples/src/Core/Common/GetImageSize/Documentation.html">http://itk.org/ITKExamples/src/Core/Common/GetImageSize/Documentation.html</a><br>
[2] <a href="http://www.itk.org/Wiki/ITK/Examples/IO/ReadUnknownImageType">http://www.itk.org/Wiki/ITK/Examples/IO/ReadUnknownImageType</a><br><br><div><div><div class="gmail_extra"><br><div class="gmail_quote">On 29 January 2014 11:16, Shandra Gutierrez Diaz <span dir="ltr"><<a href="mailto:Shandra.GutierrezDiaz@ugent.be" target="_blank">Shandra.GutierrezDiaz@ugent.be</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Hi,<br>
I am building a project but it gives me the error:<br>
<br>
 error: no member named 'GetImageDimension' in namespace 'itk'<br>
  ::itk::GetImageDimension<TInputImage>::ImageDimension>,<br>
<br>
Is GetImageDimension still used in ITK 4.0 and if not is there any alternative for it.<br>
<br>
Thanks a lot,<br>
Shandra<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>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<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></div></div></div></div>