Metadata-Version: 2.4
Name: neurostrip
Version: 1.0.1
Summary: CNN based skull stripping (brain masking) from MRI
Author: Bryn Lloyd
License: MIT
Project-URL: Homepage, https://github.com/dyollb/neurostrip
Project-URL: Repository, https://github.com/dyollb/neurostrip
Project-URL: Issues, https://github.com/dyollb/neurostrip/issues
Keywords: MRI,skull stripping,brain masking,CNN,medical imaging
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Healthcare Industry
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering :: Medical Science Apps.
Classifier: Topic :: Scientific/Engineering :: Image Processing
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy
Requires-Dist: SimpleITK
Provides-Extra: gpu
Requires-Dist: onnxruntime-gpu>=1.17.0; extra == "gpu"
Provides-Extra: cpu
Requires-Dist: onnxruntime>=1.17.0; extra == "cpu"
Provides-Extra: dev
Requires-Dist: pre-commit>=3.7.0; extra == "dev"
Requires-Dist: ruff>=0.5.5; extra == "dev"
Requires-Dist: mypy>=1.10.0; extra == "dev"
Requires-Dist: bandit>=1.7.0; extra == "dev"
Requires-Dist: safety>=3.2.0; extra == "dev"
Requires-Dist: typos>=1.23.0; extra == "dev"
Requires-Dist: pytest>=8.2.0; extra == "dev"
Requires-Dist: pytest-cov>=5.0.0; extra == "dev"
Dynamic: license-file

# NeuroStrip
[![CI](https://github.com/dyollb/neurostrip/actions/workflows/ci.yml/badge.svg)](https://github.com/dyollb/neurostrip/actions/workflows/ci.yml)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
[![PyPI](https://img.shields.io/pypi/v/neurostrip.svg)](https://pypi.org/project/neurostrip/)
<img src="https://img.shields.io/pypi/dm/neurostrip.svg?label=pypi%20downloads&logo=python&logoColor=green"/>
<img src="https://img.shields.io/badge/python-3.9%20|3.10%20|%203.11%20|%203.12-3776ab.svg"/>

CNN based skull stripping (brain masking) from MRI.

<p align="center">
   <img src="https://raw.githubusercontent.com/dyollb/neurostrip/main/slicer_plugin/Resources/Icons/NeuroStrip.png" alt="NeuroStrip Slicer Plugin Icon" width="120"/>
</p>

## Installation

For CPU support:
```bash
pip install neurostrip[cpu]
```

For GPU support:
```bash
pip install neurostrip[gpu]
```

## Usage

```bash
neurostrip --image-path input.nii.gz --mask-path mask.nii.gz --masked-image-path output.nii.gz
```

## Slicer Plugin

To make it more convenient to use, this repository includes a plugin that can be installed in [3D Slicer](https://www.slicer.org/). For installation instructions and more details, please refer to the [README](https://raw.githubusercontent.com/dyollb/neurostrip/main/slicer_plugin/README.md).

## Contributing

Contributions are welcome! See [CONTRIBUTING.md](CONTRIBUTING.md) for development setup and guidelines.

## License

MIT License - see LICENSE file for details.
