Skip to main content

OpenCL based GPU-accelerated image processing in napari

Project description

pyclesperanto-assistant

pyclesperanto-assistant is a yet experimental napari plugin for building GPU-accelerated image processing workflows. It is part of the clEsperanto project.

Installation

Download and install napari. After that, windows user should follow the instructions in the section below.

... more details coming soon ...

Installation on windows

On windows some additional steps are necessary. Download a pre-compiled wheel of pyopencl e.g. from here. It is recommended to install pyopencl-...+cl21-cp38-cp38-win_amd64 - the cl12 and cp38 are important when choosing the right download. They stand for OpenCL 1.2 and Python 3.8.

Enter your username and the correct pyopencl-... filename in the following line and execute it from the command line:

C:\Users\<username>\AppData\Local\Programs\napari\python\python.exe -m pip install pyopencl-2020.2.2+cl12-cp38-cp38-win_amd64.whl

In case napari doesn't start up (see also), enter your username in the following line and execute it from the command line:

C:\Users\<username>\AppData\Local\Programs\napari\python\python.exe -m pip install numpy==1.19.3

For developers

Getting the recent code from github and locally installing it

git clone https://github.com/haesleinhuepf/pyclesperanto_assistant.git

pip install -e ./pyclesperanto_assistant

Optional: Also install pyclesperantos recent source code from github:

git clone https://github.com/clEsperanto/pyclesperanto_prototype.git

pip install -e ./pyclesperanto_prototype

Starting up napari with the pyclesperanto assistant installed:

ipython --gui=qt pyclesperanto_assistant\pyclesperanto_assistant

Feedback welcome!

clEsperanto is developed in the open because we believe in the open source community. Feel free to drop feedback as github issue or via image.sc

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_pyclesperanto_assistant-0.1.0.tar.gz (11.5 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