⚠️ Migrated to ITK main — this repository is archived.As of 2026-04-28, the
MGHIOmodule has been ingested into the main ITK source tree. The authoritative location is:https://github.com/InsightSoftwareConsortium/ITK/tree/main/Modules/IO/MGHIO
See
Modules/IO/MGHIO/README.mdin the ITK tree for details on what moved and what remains in this archived repo.This repository is retained read-only for historical reference (deep git history, paper material, example assets not migrated to ITK).
Related:
- ITK ingest PR: InsightSoftwareConsortium/ITK#6137
- ITK ingest merge commit: InsightSoftwareConsortium/ITK@2e61183c46
- Consolidation issue: InsightSoftwareConsortium/ITK#6060
ITK remote module for IO of images stored in mgh, mgz and mgh.gz formats.
See https://surfer.nmr.mgh.harvard.edu/fswiki/FsTutorial/MghFormat https://surfer.nmr.mgh.harvard.edu/
The original implementation was developed in the Slicer code base (folder Slicer/Libs/MGHImageIO)
with contributions from Nicole Aucoin, Steve Pieper, Georghe, Dennis Jen, Bruce Fischl, Sebastien Barre, Jim Miller, Bill Lorensen,
Dominique Belhachemi, Jean-Christophe Fillion-Robin, Julien Finet, Matt McCormick, Hans Johnson, Kent Williams
and Andras Lasso.
In May 2013, Hans Johnson created the repository Slicer/itkMGHImageIO enabling ITK
based programs to support reading and writing MGH files. See Slicer/itkMGHImageIO@4fa1fd815. Between 2013 and 2021, this
more general implementation has been developed with contributions from Hans Johnson, Mathew Seng, Xiaoxiao Liu, Matt McCormick, Jon Haitz Legarreta, François Budin, Zach Williamson and Jean-Christophe Fillion-Robin.
In September 2015, starting with Slicer commit Slicer/Slicer@184e907df, Slicer was updated to use the IO provided by Slicer/itkMGHImageIO through the ITK remote module mechanism.
Finally, in December 2021, the project originally created in the Slicer GitHub organization was transferred to the InsightSoftwareConsortium GitHub organization and re-forked into the Slicer one. The
ITK remote module was also updated to reference the project in the InsightSoftwareConsortium organization. See InsightSoftwareConsortium/ITK@f84c9ef09.
In April 2026, the module was ingested into ITK main (see migration notice above) and this repository was archived.