[ITK] Working with 2D images in ITK

Michka Popoff michkapopoff at gmail.com
Sat Apr 26 04:21:52 EDT 2014


Hi

we have also some examples regarding image reading/writing [1] which may be worth reading:

[1] http://itk.org/ITKExamples/src/IO/ImageBase/index.html

Michka

On 26 avr. 2014, at 09:36, Jon Haitz Legarreta <jhlegarreta at vicomtech.org> wrote:

> Hi,
> yes if the pixel type of your image is unsigned short.
> 
> 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.
> 
> When you are trying to read an image stored in a given format [3], you may find some restrictions, though.
> 
> JON HAITZ
> 
> [1] http://www.itk.org/Insight/Doxygen/html/classitk_1_1Image.html
> [2] www.itk.org/ItkSoftwareGuide.pdf
> [3] http://www.itk.org/Wiki/ITK/File_Formats
> 
> 
> On 25 April 2014 22:25, Med SWEng <medcompsweng at gmail.com> wrote:
> If we want to work with 2D image in ITK, would this instantiation be valid?
> 
> typedef itk::Image< unsigned short, 2 > ImageType;
> 
> Thanks.
> 
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/community
> 
> 
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20140426/2a428ab9/attachment-0002.html>


More information about the Community mailing list