[Insight-users] [ITK Community] MHA/MHD File Format

Matt McCormick matt.mccormick at kitware.com
Tue Feb 18 20:40:13 EST 2014


Hi Jeff,

The wiki is the best source of MetaIO documentation.  Improvements to
the documentation by examining the source code are welcome.

Thanks,
Matt

On Tue, Feb 18, 2014 at 4:55 PM, coderforlife <jeff at coderforlife.com> wrote:
> I am making a metafile (MHA/MHD) file format reader/writer. The only
> documentation on the format I can really find is at
> http://www.itk.org/Wiki/MetaIO/Documentation and it is not very good. I have
> plenty of questions and clarifications. Additionally, if there is better
> documentation that would be great too.
>
> First off, I am only supporting Image objects, so there is a lot of fields
> that I don't need to care about.
>
> 1. Since I am only accepting a single ObjectType equal to Image, are there
> any header fields which are allowed to appear more than once?
> 2. For enumerated types (like ObjectType, ElementType), is capitalization
> important? For example, is image and Image both acceptable? Are MET_UCHAR
> and met_uchar both acceptable?
> 3. What does the data look like when BinaryData is False?
> 4. Is CompressedData=True allowed with HeaderSize=-1?
> 5. Is HeaderSize allowed with ElementDataFile=LOCAL?
> 6. Is ElementNumberOfChannels allowed when not using MET_*_ARRAY types?
> 7. What is the difference between ElementByteOrderMSB and
> BinaryDataByteOrderMSB?
> 8. How is the Rotation/Orientation/TransformMatrix saved in the header? I
> know they are a matrix, but are they stored on a single line, ... etc?
> 9. When saving other fields that are arrays (like DimSize), is anything
> besides spaces allowed as separators?
> 10. With ElementDataFile=LOCAL, LIST, etc does the LOCAL/LIST need to be
> capitalized?
>
> Thanks!
> Jeff
>
>
>
>
> --
> View this message in context: http://itk-insight-users.2283740.n2.nabble.com/MHA-MHD-File-Format-tp7585031.html
> Sent from the ITK Insight Users mailing list archive at Nabble.com.
> _____________________________________
> 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.php
>
> 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
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/community


More information about the Insight-users mailing list