Skip to main content

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

Project description

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.

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

dlmuse-1.0.2.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

DLMUSE-1.0.2-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file dlmuse-1.0.2.tar.gz.

File metadata

  • Download URL: dlmuse-1.0.2.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for dlmuse-1.0.2.tar.gz
Algorithm Hash digest
SHA256 afb6ee8dc5114df4e9d2cac88c9f8506e33730dfb658fe8ea261dfe9e3497b2b
MD5 ef94859b036d1fd0b18ca7bc1a2c469c
BLAKE2b-256 e21a0e76e6dc3c528eb8d0afd83a42421426e1bd0e273fd50e4af3b3fb363588

See more details on using hashes here.

File details

Details for the file DLMUSE-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: DLMUSE-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for DLMUSE-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 09d01de15b07e0c72faa3830b6cd7fff481c25900dcc804ff9fdbcfbae2a7699
MD5 95fda93ef87e528277164f1e960bd5d5
BLAKE2b-256 636a4f1df31d38aab4bbdc5522508162d822b95e17bec6fc4e9c3344ec5779bd

See more details on using hashes here.

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