napari-cupy-image-processing
GPU-accelerated image processing using cupy and CUDA
This napari plugin was generated with Cookiecutter using with @napari's cookiecutter-napari-plugin template.
Installation
Follow the instructions for installing cupy on your computer first. Afterwards, you can install napari-cupy-image-processing
via pip:
pip install napari-cupy-image-processing
A more detailed example for installation (change 10.2 to your CUDA version):
conda create --name cupy_p38 python=3.8
conda activate cupy_p38
conda install -c conda-forge cupy cudatoolkit=10.2
conda install napari
pip install napari-cupy-image-processing
Known issues
When executing the first operation right after CUDA installation, napari may freeze and crash. Wait a minute and try again.
Contributing
Contributions are very welcome. Adding cupy ndimage functions is quite easy as you can see in the implementation of the current operations. If you need another function in napari, just send a PR. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.
License
Distributed under the terms of the MIT license, "napari-cupy-image-processing" is free and open source software
Issues
If you encounter any problems, please file an issue along with a detailed description.