View MetaImage files in your browser

The Insight Toolkit's own image format, common in research and in medical AI datasets. Open a volume right here and step through it in every plane. Nothing leaves your device.

Or drop it anywhere on this page

What you'll see

Your scan opens slice by slice, with its series or planes beside it, what the scanner says in its corners and the patient's sides at its edges.

case_014.mha

MetaImage • 512 × 512 × 98 • 16 bit signed • 28.4 MB

  • Every series in order through the body • The wheel steps through it
  • Window and level • Drag it, or pick CT's presets
  • Measure lengths, angles and areas in millimeters
  • Export • PNG, JPEG, MP4, or the files without patient data

About MetaImage

MetaImage comes from Kitware's Insight Toolkit, ITK, the library under 3D Slicer, ITK-SNAP and Elastix. Research datasets and image analysis challenges ship CT and MRI volumes in it, most often as .mha.

A MetaImage starts with a few lines of text, like NDims, DimSize, ElementSpacing and ElementType, then its voxels, raw or compressed with zlib. An .mha holds both in one file, and an .mhd header names a .raw or .zraw file beside it.

Filepeek reads it in your browser and cuts the volume into axial, coronal and sagittal slices, placed by its TransformMatrix, with the patient's sides at the edges. Step through with the wheel or the arrow keys, set the window and level, measure in millimeters, read the header, and save a slice as PNG or JPEG or a plane as MP4.

MetaImage

Format

MIME type
application/x-metaimage
Made by
Kitware, for ITK

Inside the file

Header
Text, a key and a value a line
Voxels
8 to 64 bit, integer or float
Packing
Raw, or compressed with zlib
Data
In the file for .mha, beside it for .mhd

Opens in every browser

Browsers download MetaImage files. Filepeek opens them in Chrome, Edge, Firefox and Safari.

  • YouChromeOpens through Filepeek
  • YouEdgeOpens through Filepeek
  • YouFirefoxOpens through Filepeek
  • YouSafariOpens through Filepeek

Questions

How do I open an .mhd file?

Drop the .mhd together with the .raw or .zraw file it names. Filepeek reads the header, then the voxels beside it.

Which planes can I see?

All three: axial, coronal and sagittal, each listed beside the image. Pick one and step through its slices with the wheel, the arrow keys or the slider.

Can I save a slice as a picture?

Yes. Choose Export to save the slice on show as PNG or JPEG, as it looks with the window you set, or a whole plane as an MP4.

Is my scan uploaded?

No. It opens inside your browser and never leaves your device.

More image formats

All supported file types

Opens in a new tab

EXIF

Verify

License

Signature