Loading repository data…
Loading repository data…
sanderslab / repository
MagellanMapper is a graphical interface for 3D bioimage annotation, atlas registration, and regional quantification
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
MagellanMapper is a graphical imaging informatics suite for 3D reconstruction and automated analysis of whole specimens and atlases. Its design philosophy is to make the raw 3D images as accessible as possible, simplify annotation from nuclei to atlases, and scale from the laptop or desktop to the cloud in cross-platform environments.

Install MagellanMapper with its graphical interface and registration tools:
pip install "magellanmapper[gui,itk]"
Then launch MagellanMapper:
mm
MagellanMapper can also be installed in Conda:
conda env create -n mag -f https://raw.githubusercontent.com/sanderslab/magellanmapper/master/envs/environment_rel.yml
Then activate the environment (mag) and run MagellanMapper:
conda activate mag
mm
UPDATE: As of MM v1.7-pre, Java/Bioformats and a custom Python repo are no longer required to import image files. TIF files can be imported directly into MM. To install the latest pre-release in regular or Conda environments, run:
pip install --pre "magellanmapper[most]"
For the latest updates and fixes, download from Git and install:
git clone https://github.com/sanderslab/magellanmapper.git
conda env create -n mag -f magellanmapper/environment.yml
mm
Or for Pip, replace the conda line with:
pip install -e "magellanmapper[most]"
See the install docs for more details and other install scenarios.
MagellanMapper consists of a graphical user interface (GUI), command-line interface (CLI), and application programming interface (API) for Python programmatic access. See the GUI docs for graphical usage and the CLI docs for scripting.
For automated tasks, see the sample_cmds_bash.ipynb Jupyter Notebook (or the older sample_cmds.sh script) that shows examples of running the CLI and exploring images in the GUI. See ReadTheDocs for more details, including viewer shortcuts and customizing settings for your image analysis.
Have a question? Found a bug? Want a feature? Please ask!
MagellanMapper reads large images using on-the-fly loading to reduce memory requirements and load time. NumPy (.npy) is the default image format.
Large TIF files can also be opened. In the "Import" tab, you can select files, view and update metadata, and import these files. Proprietary microscopy formats such as CZI can separately converted to TIF in ImageJ/FIJI or the microscope's software.
Medical imaging formats such as .mha (or .mhd/.raw) and .nii (or .nii.gz) can also be opened.
To try out functions with sample images, download any of these files:
Licensed under the open-source BSD-3 license
Author: David Young, 2017, 2025