Skip to main content

Brain Seg

Segmentation Comparison

A brain segmentation tool using machine learning

Under development

This software has NOT been approved for medical analysis/diagnosis. Please use other approved software for medical use.

Models

SavedModels for use can be found at Google Drive.

Models were trained using the Mindboggle-101 data:

Klein, Arno, 2016, "Mindboggle-101 manually labeled individual brains", https://doi.org/10.7910/DVN/HMQKCK, Harvard Dataverse, V2

A Klein, SS Ghosh, FS Bao, J Giard, Y Hame, E Stavsky, N Lee, B Rossa, M Reuter, EC Neto, A Keshavan. 2017. Mindboggling morphometry of human brains. PLoS Computational Biology 13(3): e1005350. doi:10.1371/journal.pcbi.1005350 (bioRxiv 2016 preprint)

Options

positional arguments:
  filepath              Path of file to segment

optional arguments:
  -h, --help            show this help message and exit
  -s SEGMENT, --segment Segments using provided SavedModel (Directory path required)
  --segment-precision   Float32 or float64 {32,64}
  --output OUTPUT, -o   Output filepath
  --output-channels     Number of channel in output image {1,3}

Usage Examples

# Segments a sample nifti scan
$ brainseg sample.nii.gz -s sampleSavedModel -o output.nii.gz

Model Training Graphs

SavedModel_210303 accuracy_210303 loss_210303

Release files for brainseg 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for brainseg 0.0.5
File Size Uploaded
brainseg-0.0.5.tar.gz 4.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for brainseg 0.0.5
File Interpreter ABI Platform
brainseg-0.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 11.3 kB

Release files / brainseg-0.0.5.tar.gz

Download URL brainseg-0.0.5.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a2dc88e9b3b91e93762870d2dc01cbc4dffe80f0ec48942105d25bb1b0858860
BLAKE2b-256 checksum
How to use checksums
3c5e9d22a28845161dafd0079a6c1a9a3011bff334e0a3b229ba22a8594a6ce4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.3

Release files / brainseg-0.0.5-py3-none-any.whl

Download URL brainseg-0.0.5-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
829ab953dfab23fc9b544ae47b99f3bed5eedcfb06e47006dcf65bdde1c8367b
BLAKE2b-256 checksum
How to use checksums
9cbb65a379c431572bb58c7d9330f0fd7b385968fe8b322c71efedc1631aa056
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.3

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page