<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi<div><br></div><div>we have also some examples regarding image reading/writing [1] which may be worth reading:</div><div><br></div><div>[1] <a href="http://itk.org/ITKExamples/src/IO/ImageBase/index.html">http://itk.org/ITKExamples/src/IO/ImageBase/index.html</a></div><div><br></div><div>Michka</div><div><br><div><div>On 26 avr. 2014, at 09:36, Jon Haitz Legarreta <<a href="mailto:jhlegarreta@vicomtech.org">jhlegarreta@vicomtech.org</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><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 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>
_______________________________________________<br>Community mailing list<br><a href="mailto:Community@itk.org">Community@itk.org</a><br>http://public.kitware.com/cgi-bin/mailman/listinfo/community<br></blockquote></div><br></div></body></html>