GPU-accelerated image processing using CUDA
Project description
napari-cupy-image-processing
GPU-accelerated image processing using cupy and CUDA
Usage
This napari plugin adds some menu entries to the Tools menu. You can recognize them with their suffix (n-cupy)
in brackets.
Furthermore, it can be used from the napari-assistant graphical user interface.
Therefore, just click the menu Tools > Utilities > Assistant (na)
or run naparia
from the command line.
You can also call operations from python, e.g. as shown in this demo notebook.
Installation
Follow the instructions for installing cupy on your computer first.
conda install -c conda-forge cupy
Afterwards, you can install napari-cupy-image-processing
via pip:
pip install napari-cupy-image-processing
A more detailed example for installation (change 11.2 to your desired CUDA version):
conda create --name cupy_p39 python=3.9
conda activate cupy_p39
conda install -c conda-forge cupy cudatoolkit=11.2 napari
pip install napari-cupy-image-processing
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. Please make sure the tests pass locally before submitting a PR.
pip install pytest-cov pytest-qt
pytest --cov=napari_cupy_image_processing
This napari plugin was generated with Cookiecutter using with @napari's cookiecutter-napari-plugin template.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for napari-cupy-image-processing-0.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20bdc48a73ed685e77bed549b649cb38e64faf81cedccd114946248435080a7c |
|
MD5 | 708963b4f95dc5943f61e190387e9e98 |
|
BLAKE2b-256 | 75a1f01720e763d4a07c3f59d9234da002ce0ad8d15b672c2b8929917511119f |
Hashes for napari_cupy_image_processing-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1781b5511132b1d65380d10879637034ba368aca77021c8ef1e0b1ff2d98c0e5 |
|
MD5 | ed54a18d9e8fc0139efdc1fc43fffe3b |
|
BLAKE2b-256 | e5fb7cff144d16dbfce42c87935a3d9a7fd09426865c2aa8bb57f7afa4ccf7d5 |