Skip to main content

napari-cupy-image-processing

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

You can install napari-cupy-image-processing using conda:

mamba install -c conda-forge cupy cudatoolkit=11.2 napari-cupy-image-processing

Troubleshooting installation

In case of issues, follow the instructions for installing cupy.

A more detailed example for installation (change 11.2 to your desired CUDA version):

mamba create --name cupy_p39 python=3.9 
conda activate cupy_p39

And then:

mamba install -c conda-forge cupy cudatoolkit=11.2 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.

Metadata

Release files for napari-cupy-image-processing 0.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for napari-cupy-image-processing 0.4.1
File Size Uploaded
napari-cupy-image-processing-0.4.1.tar.gz 10.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for napari-cupy-image-processing 0.4.1
File Interpreter ABI Platform
napari_cupy_image_processing-0.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 21.1 kB

Release files / napari-cupy-image-processing-0.4.1.tar.gz

Download URL napari-cupy-image-processing-0.4.1.tar.gz
Size 10.7 kB
Tags Source
SHA-256 checksum
How to use checksums
fc52befc6827d5a10550e90e6cb0a8383d1594b5c255f41d2b6daf6a7908017b
BLAKE2b-256 checksum
How to use checksums
787197941f0a5b834560802f40ef4d63a79aa62839161e2abe66afec48c483ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / napari_cupy_image_processing-0.4.1-py3-none-any.whl

Download URL napari_cupy_image_processing-0.4.1-py3-none-any.whl
Size 10.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2cfaa29ca27ed6e761c89750ede7b2a16c61c472d48feeed4c98a8a25ec9220b
BLAKE2b-256 checksum
How to use checksums
e0733c0029d97e1f3e9c29411dcdc8fa8d7d42ca160f3f77da97dde58dc58213
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release history Release notifications | RSS feed

This release

0.4.1 This release

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

1 release file

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page