GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - CBICA/DLICV: A repository that allows users to apply the DLICV method to their brain imaging data.

BranchesTags
Open more actions menu

Latest commit

 

History

89 Commits
89 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
DLICV
DLICV
 
 
tests
tests
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.pre-commit-config.yaml
.pre-commit-config.yaml
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
requirements.txt
requirements.txt
 
 
setup.cfg
setup.cfg
 
 
setup.py
setup.py
 
 

Repository files navigation

DLICV - Deep Learning Intra Cranial Volume

Overview

DLICV uses a trained nnUNet model to compute the intracranial volume from structural MRI scans in the nifti image format, oriented in LPS orientation.

Installation

As a python package

pip install DLICV

Directly from this repository

git clone https://github.com/CBICA/DLICV
cd DLICV
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 licence

DLICV -i "input_folder" -o "output_folder" -device cuda

-i can be a folder of .nii.gz/.nii images or a single image. Other files in the folder are ignored, and unreadable images are skipped without stopping the run. If the requested device (cuda/mps) is not available, DLICV falls back to CPU.

QC report

Each run writes a QC report to output_folder/qc_report.csv. Use --qc_out_path to save it somewhere else. It has one row per input image:

column description
file_path path of the output mask (label_<input name>)
file_name input image name
QC_flag Passed, Failed, or Not checked (when --post_processing false)
QC_log details, e.g. connected-component result, Invalid input: ..., No segmentation produced

Masks that fail the connected-component QC keep the raw prediction. Use --drop_failed to delete them instead.

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 DLICV 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.

About

A repository that allows users to apply the DLICV method to their brain imaging data.

Topics

deeplearningimagesegmentationmedical-image-analysismedical-image-processingnnunet

Resources

Readme
License

Contributing

Contributing
Activity
Custom properties

Stars

2 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.