[Insight-users] Help on using itk::MetaImageIO to write a *.mhd file

Yang, Jinzhong jinzhong76 at gmail.com
Mon May 17 19:16:12 EDT 2010


Hi All,

I would like to write out an itk::image to meta image format with header
information stored in a *.mhd file. The default writer (I use the
itk::ImageFileWriter to choose the itk::MetaImageIO automatically according
to the output file extension) will write all information, such as
TransformMatrix, CenterOfRotation, AnatomicalOrientation, etc. I just wonder
if there is a way to choose the elements that I would like to output and get
rid of those elements I don't like. For some reason, I don't want the data
orientation listed in the output header file.

Thanks,
Jinzhong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100517/2d03143d/attachment.htm>


More information about the Insight-users mailing list