DLICV


NameDLICV JSON
Version 0.0.0 PyPI version JSON
download
home_pagehttps://github.com/georgeaidinis/DLICV/
SummaryDLICV - Deep Learning Intra Cranial Volume
upload_time2023-11-07 22:08:35
maintainerGeorge Aidinis
docs_urlNone
authorAshish Singh, Guray Erus, Vishnu Bashyam, George Aidinis
requires_python
licenseBy installing/using DeepMRSeg, the user agrees to the following license: See https://www.med.upenn.edu/cbica/software-agreement-non-commercial.html
keywords deep learning image segmentation semantic segmentation medical image analysis medical image segmentation nnu-net nnunet
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # DLICV - Deep Learning Intra Cranial Volume

## Overview

DLICV uses a trained [nnUNet](https://github.com/MIC-DKFZ/nnUNet/tree/nnunetv1) model to compute the intracranial volume from structural MRI scans in the nifti image format, oriented in _**LPS**_ orientation.

## Installation

### As a python package

```bash
pip install dlicv
```

### Directly from this repository

```bash
git clone https://github.com/georgeaidinis/DLICV
cd DLICV
conda create -n DLICV -y python=3.8 && conda activate DLICV
pip install .
```

## Usage

A pre-trained nnUNet model can be found in the [DLICV-0.0.0 release](https://github.com/georgeaidinis/DLICV/releases/tag/v0.0.0) as an [artifact](https://github.com/georgeaidinis/DLICV/releases/download/v0.0.0/model.zip). Feel free to use it under the package's [license](LICENSE).

### Import as a python package

```python
from dlicv.compute_icv import compute_volume

# Assuming your nifti file is named 'input.nii.gz'
volume_image = compute_volume("input.nii.gz", "output.nii.gz", "path/to/model/")
```

### From the terminal

```bash
DLICV --input input.nii.gz --output output.nii.gz --model path/to/model
```

Replace the `input.nii.gz` with the path to your input nifti file, as well as the model path.

Example:

Assuming a file structure like so:

```bash
.
├── in
│   ├── input1.nii.gz
│   ├── input2.nii.gz
│   └── input3.nii.gz
├── model
│   ├── fold_0
│   ├── fold_1
│   │   ├── debug.json
│   │   ├── model_final_checkpoint.model
│   │   ├── model_final_checkpoint.model.pkl
│   │   ├── model_latest.model
│   │   ├── model_latest.model.pkl
│   └── plans.pkl
└── out
```

An example command might be:

```bash
DLICV --input path/to/input/ --output path/to/output/ --model path/to/model/
```

### Using the docker container

In the docker container, the.

## Contact

For more information, please contact [CBICA Software](mailto:software@cbica.upenn.edu).

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/georgeaidinis/DLICV/",
    "name": "DLICV",
    "maintainer": "George Aidinis",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "aidinisg@pennmedicine.upenn.edu",
    "keywords": "deep learning,image segmentation,semantic segmentation,medical image analysis,medical image segmentation,nnU-Net,nnunet",
    "author": "Ashish Singh, Guray Erus, Vishnu Bashyam, George Aidinis",
    "author_email": "software@cbica.upenn.edu",
    "download_url": "https://files.pythonhosted.org/packages/e2/04/bcea8726fc5a6fed544f431c81d5f7035f8fba5915fd5c35246b1d9efc09/DLICV-0.0.0.tar.gz",
    "platform": null,
    "description": "# DLICV - Deep Learning Intra Cranial Volume\n\n## Overview\n\nDLICV uses a trained [nnUNet](https://github.com/MIC-DKFZ/nnUNet/tree/nnunetv1) model to compute the intracranial volume from structural MRI scans in the nifti image format, oriented in _**LPS**_ orientation.\n\n## Installation\n\n### As a python package\n\n```bash\npip install dlicv\n```\n\n### Directly from this repository\n\n```bash\ngit clone https://github.com/georgeaidinis/DLICV\ncd DLICV\nconda create -n DLICV -y python=3.8 && conda activate DLICV\npip install .\n```\n\n## Usage\n\nA pre-trained nnUNet model can be found in the [DLICV-0.0.0 release](https://github.com/georgeaidinis/DLICV/releases/tag/v0.0.0) as an [artifact](https://github.com/georgeaidinis/DLICV/releases/download/v0.0.0/model.zip). Feel free to use it under the package's [license](LICENSE).\n\n### Import as a python package\n\n```python\nfrom dlicv.compute_icv import compute_volume\n\n# Assuming your nifti file is named 'input.nii.gz'\nvolume_image = compute_volume(\"input.nii.gz\", \"output.nii.gz\", \"path/to/model/\")\n```\n\n### From the terminal\n\n```bash\nDLICV --input input.nii.gz --output output.nii.gz --model path/to/model\n```\n\nReplace the `input.nii.gz` with the path to your input nifti file, as well as the model path.\n\nExample:\n\nAssuming a file structure like so:\n\n```bash\n.\n\u251c\u2500\u2500 in\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 input1.nii.gz\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 input2.nii.gz\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 input3.nii.gz\n\u251c\u2500\u2500 model\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 fold_0\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 fold_1\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 debug.json\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 model_final_checkpoint.model\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 model_final_checkpoint.model.pkl\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 model_latest.model\n\u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 model_latest.model.pkl\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 plans.pkl\n\u2514\u2500\u2500 out\n```\n\nAn example command might be:\n\n```bash\nDLICV --input path/to/input/ --output path/to/output/ --model path/to/model/\n```\n\n### Using the docker container\n\nIn the docker container, the.\n\n## Contact\n\nFor more information, please contact [CBICA Software](mailto:software@cbica.upenn.edu).\n",
    "bugtrack_url": null,
    "license": "By installing/using DeepMRSeg, the user agrees to the following license: See https://www.med.upenn.edu/cbica/software-agreement-non-commercial.html",
    "summary": "DLICV - Deep Learning Intra Cranial Volume",
    "version": "0.0.0",
    "project_urls": {
        "Download": "https://github.com/georgeaidinis/DLICV/",
        "Homepage": "https://github.com/georgeaidinis/DLICV/"
    },
    "split_keywords": [
        "deep learning",
        "image segmentation",
        "semantic segmentation",
        "medical image analysis",
        "medical image segmentation",
        "nnu-net",
        "nnunet"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c30d2d76f9253a61a17218b777e559ad894462a895bc24fab8b723565bd386fd",
                "md5": "b3cdab5c0a3b94233c5087baa217ecee",
                "sha256": "c3e818eaa97359989e6fbfe674407726003398b5d9dab124b5f49bdedf24393a"
            },
            "downloads": -1,
            "filename": "DLICV-0.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b3cdab5c0a3b94233c5087baa217ecee",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 6389,
            "upload_time": "2023-11-07T22:08:34",
            "upload_time_iso_8601": "2023-11-07T22:08:34.317144Z",
            "url": "https://files.pythonhosted.org/packages/c3/0d/2d76f9253a61a17218b777e559ad894462a895bc24fab8b723565bd386fd/DLICV-0.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e204bcea8726fc5a6fed544f431c81d5f7035f8fba5915fd5c35246b1d9efc09",
                "md5": "adbcb2f8b5a28101812732dd0940b7cf",
                "sha256": "c27811c3f9397fdf72fa4a5bb462aaaa3dbe828e329342bac28c3f09733230a7"
            },
            "downloads": -1,
            "filename": "DLICV-0.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "adbcb2f8b5a28101812732dd0940b7cf",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 6690,
            "upload_time": "2023-11-07T22:08:35",
            "upload_time_iso_8601": "2023-11-07T22:08:35.951461Z",
            "url": "https://files.pythonhosted.org/packages/e2/04/bcea8726fc5a6fed544f431c81d5f7035f8fba5915fd5c35246b1d9efc09/DLICV-0.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-07 22:08:35",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "georgeaidinis",
    "github_project": "DLICV",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "dlicv"
}
        
Elapsed time: 0.26282s