Skip to main content

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

Project description

This package is deprecated!

Please use brainglobe-segmentation instead.

The old README can be found below.

Python Version PyPI Wheel Development Status Tests codecovCode 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.


Contributions are very welcome. Please see the developers guide.

Citing brainreg-segment

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

Tyson, A. L., Vélez-Fort, M., Rousseau, C. V., Cossell, L., Tsitoura, C., Lenzi, S. C., Obenhaus, H. A., Claudi, F., Branco, T., Margrie, T. W. (2022). Accurate determination of marker location within whole-brain microscopy images. Scientific Reports, 12, 867

Project details

Download files

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

Source Distribution

brainreg-segment-0.2.20.tar.gz (13.7 MB view hashes)

Uploaded source

Built Distribution

brainreg_segment-0.2.20-py3-none-any.whl (28.7 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page