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

Xiaodong Tao taox at ge.com
Mon May 17 19:51:49 EDT 2010


Hello Jinzhong,

If you do not write out the image information in its entirety, you may not load them back (process them and visualize them) correctly unless you remember all the information you discard. 

Xiaodong


On May 17, 2010, at 7:16 PM, Yang, Jinzhong wrote:

> 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
> 
> _____________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> 
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
> 
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100517/108e0647/attachment-0001.htm>


More information about the Insight-users mailing list