Skip to main content

GPU-accelerated image processing using CUDA

Project description

napari-cupy-image-processing

License PyPI Python Version tests codecov

GPU-accelerated image processing using cupy and CUDA

img.png


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.

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

napari-cupy-image-processing-0.1.2.tar.gz (5.7 kB view hashes)

Uploaded Source

Built Distribution

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