Skip to main content

Manual segmentation of 3D brain structures in a common anatomical space

Project description

Python Version PyPI Wheel Development Status Tests Coverage Status Code style: black Twitter


Segmentation of 1/2/3D brain structures in a common anatomical space

brainreg-segment is a companion to brainreg allowing manual segmentation of regions/objects within the brain (e.g. injection sites, probes etc.) allowing for automated analysis of brain region distribution, and visualisation (e.g. in brainrender).

brainreg-segment and brainreg were developed by Adam Tyson and Charly Rousseau in the Margrie Lab, based on aMAP by Christian Niedworok. The work was generously supported by the Sainsbury Wellcome Centre.


brainreg-segment comes bundled with brainreg, so see the brainreg installation instructions.

brainreg-segment can be installed on it's own (pip install brainreg-segment), but you will need to register your data with brainreg first.


See user guide.

If you have any questions, head over to the forum.

Citing brainreg-segment

If you find brainreg-segment useful, and use it in your research, please let us know and also cite the preprint:

Tyson, A. L., Vélez-Fort, M., Rousseau, C. V., Cossell, L., Tsitoura, C., Obenhaus, H. A., Claudi, F., Lenzi, S. C., Branco, T., Margrie, T. W. (2021) “Tools for accurate post hoc determination of marker location within whole-brain microscopy images’ bioRxiv,

The BrainGlobe project is generously supported by the Sainsbury Wellcome Centre and the Institute of Neuroscience, Technical University of Munich, with funding from Wellcome, the Gatsby Charitable Foundation and the Munich Cluster for Systems Neurology - Synergy.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for brainreg-segment, version 0.2.14
Filename, size File type Python version Upload date Hashes
Filename, size brainreg_segment-0.2.14-py3-none-any.whl (30.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size brainreg-segment-0.2.14.tar.gz (13.7 MB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page