

MetaImageImporter asks a series of questions about your data and then produces a MetaImage header file that points to your data and allows the MetaIO library to read your data.
DEFINE METAIMAGE SOFTWARE
One of the most robust image conversion software packages is ImageMagick ( Unix and PC versions available). Uncompressed data is data stored in a raw format, possibly with a header, as is often the case for DICOM, BMP, and PNG formatted images.įor compressed data, you must first convert your data to a non-compressed format.This section gives examples on how “convert” your data to the MetaImage format.įor uncompressed data, “conversion” to MetaImage is actually just a matter of specifying a MetaImage Headerfile (a “MetaHeader”) that describes and points to the file(s) containing your data. This section assumes that you have data that you wish to process using an application that reads MetaImages. Quick Start Data conversion via MetaHeaders Instead of a stand-alone installation, we highly recommend using the distribution in ITK - if you build ITK, you get MetaIO for free! This is left as an exercise to the user (hint: requires the kwsys and zlib libraries). MetaIO can also be compiled outside of these toolkits. The hierarchy of the software in the Visualization toolkit is as follows:

DEFINE METAIMAGE HOW TO
See the file /Insight/Examples/MetaImageReadWrite for a working example on how to develop a program using MetaImage for IO. Numerous other examples and applications in InsightApplications also rely on FLTK.
DEFINE METAIMAGE INSTALL
Install FLTK and then ITK and then InsightApplications to have every MetaIO example built. Routines that wrap MetaIO for reading and writing ITKS's Spatial Objects (tubes, blobs, ellipses, meshes, etc.) are inĬertain examples, such as the MetaImageViewer, also require FLTK (a cross-platform user interface library available from ). Routines that wrap MetaIO for ITK's image IO object factory are in
DEFINE METAIMAGE CODE
Aylward, or Julien Jomier, if you encounter any incompatibilities between our code and your compiler. Know compatible compilers include G++ v2.95 and beyond (and probably previous), Microsoft Visual C++ 6.0, Sun’s CC on Solaris 2.6 and beyond, Intel compiler and compilers on other workstations including HPs, SGIs, and Alpha systems. We have yet to find a modern C++ compiler that does not compile MetaIO.

MetaIO is a hierarchy of C++ classes and functions.
