Version:

  • 0.2.3

Release date:

  • 08 May 2022

First released:

  • 22 October 2021

License:

  • MIT

Supported data:

  • 2D
  • 3D

GitHub activity:

  • Stars: 12
  • Forks: 0
  • Issues + PRs: 0

GitHub activity:

  • Stars: 12
  • Forks: 0
  • Issues + PRs: 0

Python versions supported:

  • >=3.7

Operating system:

  • OS Independent

Requirements:

  • napari-plugin-engine (>=0.1.4)
  • numpy
  • toolz
  • cupy
  • napari-tools-menu
  • scikit-image
  • napari-time-slicer
  • napari-skimage-regionprops
  • napari-assistant

napari-cupy-image-processing

GPU-accelerated image processing using CUDA


License PyPI Python Version tests codecov Development Status napari hub

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.

img.png

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. 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.

Version:

  • 0.2.3

Release date:

  • 08 May 2022

First released:

  • 22 October 2021

License:

  • MIT

Supported data:

  • 2D
  • 3D

GitHub activity:

  • Stars: 12
  • Forks: 0
  • Issues + PRs: 0

Python versions supported:

  • >=3.7

Operating system:

  • OS Independent

Requirements:

  • napari-plugin-engine (>=0.1.4)
  • numpy
  • toolz
  • cupy
  • napari-tools-menu
  • scikit-image
  • napari-time-slicer
  • napari-skimage-regionprops
  • napari-assistant

Version:

  • 0.2.3

Release date:

  • 08 May 2022

First released:

  • 22 October 2021

License:

  • MIT

Supported data:

  • 2D
  • 3D

GitHub activity:

  • Stars: 12
  • Forks: 0
  • Issues + PRs: 0

GitHub activity:

  • Stars: 12
  • Forks: 0
  • Issues + PRs: 0

Python versions supported:

  • >=3.7

Operating system:

  • OS Independent

Requirements:

  • napari-plugin-engine (>=0.1.4)
  • numpy
  • toolz
  • cupy
  • napari-tools-menu
  • scikit-image
  • napari-time-slicer
  • napari-skimage-regionprops
  • napari-assistant

Sign up to receive updates