

MetaIO uses the same orientation convention as ITK - which is OPPOSITE FROM DICOM.Please send your data and details to What orientation convention is MetaIO using? We've tried to get it "right" but data orientation is both critical and tricky. We greatly appreciate your feedback - particularly if you can provide the data and/or data conversion program that is exhibiting this behavior.I think MetaIO is encoding my image's orientation incorrectly.Therefore, equivalent terms are often defined in the tag dictionary. Over the past decade some inconsistencies crept into the implementation of derived classes, and when we go back and standardize, we must maintain backward compatibility. Again backward compatibility is the driving force.What is the difference between BinaryDataByteOrderMSB and ElementDataByteOrderMSB?.Due to backward compatibility constraints, any of these variations is supported and produces identical results.Should I use Origin, Position, or Offset (and similarly Orientation, Rotation, or TransformMatrix) to represent the recorded location of my data?.MetaIO only supports its own type of image compression - it cannot read data that is compressed in other formats. More than likely your files are using compressed versions of those image formats.I am trying to use MetaIO to point to and read my set of png (or tiff or jpeg) files, but it isn't working.Developers should never issue "using namespace vtkmetaio" in a program if VTK and ITK are to be used in that program.When using MetaIO from within ITK, call the function without a namespace.When using MetaIO from within VTK, prefix with the namespace vtkmetaio::.Thus, a single application should be able to compile with VTK and ITK without problems/conflict cxx file in MetaIO includes the localMetaConfiguration.h file using quotes to cause the local version of that file to be found first. Defines METAIO_EXTERN and METAIO_EXPORT for shared libraries.Includes vtksys/SystemTools.hxx for kwsys.Includes vtkConfigure.h to learn about std dependencies.Includes itksys/SystemTools.hxx for kwsys.Does not use a namespace - in order to preserve backward compatibility.Each distribution has a file called "localMetaConfiguration.h." This file defines METAIO_USE_NAMESPACE, META_IO_NAMESPACE, include paths for vtk/itk's kwsys libraries, and namespaces for STL, STREAM, and KWSYS libraries.In this manner, programs can link with the VTK and ITK libraries without receiving errors related to the same function having been previously defined.Ī summary of the differences are as follows: The ITK and VTK distributions differ by having local include files that cause each distribution to be wrapped in a different namespace. MetaIO is also available as part of the Visualization Toolkit in the directory VTK/Utilities/vtkmetaio.Most recent version available as part of the Insight Toolkit in the directory Insight/Utilities/MetaIO.MetaCommand and MetaOutput documentation is also available as a wiki page.MetaIO documentation is available as a wiki page.Easily extended to handle user-defined fields on a per application basis.Supports storage of parameters necessary for real-world medical image processing.UChar, Char, UShort, Short, UInt, Int, Float, Double voxels.Via separate header and binary data files, multiple binary data formats are supported.Descriptor can be in a separate file that describes a binary data file.Descriptor can appear as a text header preceding binary data.Simple text descriptor using tagged field format.MetaIO is used for the majority of tests and examples in the ITK framework.MetaIO has maintained backward compatibility since its initial public release in 2000 as part of the Insight Toolkit (ITK).MetaIO began in 1996 to address the growing complexity and inflexibility of medical image formats that were available at that time.
