<div dir="ltr"><div>Hi,<br>yes if the pixel type of your image is unsigned short.<br><br></div><div>ITK is designed to work with N-dimensional images and supports virtually all pixel types. Having a look at the itk::Image class documentation [1],as well as section 4.1 in the ITK SW guide [2], may be worthwhile.<br>
<br>When you are trying to read an image stored in a given format [3], you may find some restrictions, though.<br><br></div>JON HAITZ<br><br>[1] <a href="http://www.itk.org/Insight/Doxygen/html/classitk_1_1Image.html">http://www.itk.org/Insight/Doxygen/html/classitk_1_1Image.html</a><br>
[2] <a href="http://www.itk.org/ItkSoftwareGuide.pdf">www.itk.org/ItkSoftwareGuide.pdf</a><br>[3] <a href="http://www.itk.org/Wiki/ITK/File_Formats">http://www.itk.org/Wiki/ITK/File_Formats</a><br><br><div><div><div class="gmail_extra">
<br><div class="gmail_quote">On 25 April 2014 22:25, Med SWEng <span dir="ltr"><<a href="mailto:medcompsweng@gmail.com" target="_blank">medcompsweng@gmail.com</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">
<div dir="ltr"><div>If we want to work with 2D image in ITK, would this instantiation be valid?<br><br>typedef itk::Image< unsigned short, 2 > ImageType;<br><br></div>Thanks.<br></div>
<br>_______________________________________________<br>
Community mailing list<br>
<a href="mailto:Community@itk.org">Community@itk.org</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/community" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/community</a><br>
<br></blockquote></div><br></div></div></div></div>