Skip to main content

DLMUSE - Deep Learning MUlti-atlas region Segmentation utilizing Ensembles of registration algorithms and parameters

Overview

DLMUSE uses a trained nnUNet model to compute the segmentation of the brain into MUSE ROIs from the nifti image of the Intra Cranial Volume (ICV - see DLICV method), oriented in LPS orientation. It produces the segmented brain, along with a .csv file of the calculated volumes of each ROI.

Installation

As a python package

pip install DLMUSE

Directly from this repository

git clone https://github.com/CBICA/DLMUSE
cd DLMUSE
pip install -e .

Installing PyTorch

Depending on your system configuration and supported CUDA version, you may need to follow the PyTorch Installation Instructions.

Usage

A pre-trained nnUNet model can be found at our hugging face account. Feel free to use it under the package's license.

From command line

DLMUSE -i "input_folder" -o "output_folder" -device cpu

For more details, please refer to

DLMUSE -h

[Windows Users] Troubleshooting model download failures

Our model download process creates several deep directory structures. If you are on Windows and your model download process fails, it may be due to Windows file path limitations.

To enable long path support in Windows 10, version 1607, and later, the registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem LongPathsEnabled (Type: REG_DWORD) must exist and be set to 1.

If this affects you, we recommend re-running DLMUSE with the --clear_cache flag set on the first run.

Contact

For more information, please contact CBICA Software.

For Developers

Contributions are welcome! Please refer to our CONTRIBUTING.md for more information on how to report bugs, suggest enhancements, and contribute code. Please make sure to write tests for new code and run them before submitting a pull request.

Metadata

Release files for DLMUSE 1.0.3

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

Source distribution (sdist)

Source distribution for DLMUSE 1.0.3
File Size Uploaded
dlmuse-1.0.3.tar.gz 7.6 kB Details

Built distribution (wheel)

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

Total release size: 15.5 kB

Release files / dlmuse-1.0.3.tar.gz

Download URL dlmuse-1.0.3.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
91d63e675626ef323fa3fbd80a9325d8ed91e84cf6240432a856c865f2230709
BLAKE2b-256 checksum
How to use checksums
1b021747ef61d3cd2409748c95c2db731fa9d79ce804ed7024c19ea81ddd0545
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.6

Release files / DLMUSE-1.0.3-py3-none-any.whl

Download URL DLMUSE-1.0.3-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aa0433502fc90fffe1e74f058b2628d47cf98d14bd7080d05497df1b5851da4b
BLAKE2b-256 checksum
How to use checksums
f860214236d018b3a41d64c1456641ac3e268b3cbb34119141ed090075060712
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.6

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

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