[Insight-users] How to get the read image parameters?

orientation f fuzengliang435 at gmail.com
Mon Nov 3 03:25:57 EST 2008


Hi,
I read the serial image with the class itk::ImageSeriesReader. Now, I want
to obtain the parameters, such as origion, spacing and so on.
typedef  int   PixelType_3D;
typedef  itk::Image< PixelType_3D, 3> ImageType3D;
ImageType3D::ConstPointer image;
image = SeriesReader->GetOutput();
The data is stored pointer image now, but I don't know how to get the value
of each paramter, such as the double value of spacing, spacing_x = ?
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20081103/067241cb/attachment.htm>


More information about the Insight-users mailing list