[Insight-users] Read a 2D and 3D image in itk::ImageFileReader
Matt McCormick
matt at mmmccormick.com
Sat Apr 16 18:12:34 EDT 2011
Haiyong Xu <haiyeong at ...> writes:
> My program read an image using itk::ImageFileReader. The input image
> can be 2D (a jpeg file) or 3D (a nrrd file). My question is how to
> typedef the ImageType in ImageFileReader?
>
Hi Haiyong,
An example can be found here:
https://gitorious.org/itk-repos/itk-split-components/blobs/master/Code/split-
components.cxx
HTH,
Matt
More information about the Insight-users
mailing list