clij / clijpy

GPU-accelerated image processing using CLIJ via pyimagej in python
https://clij.github.io/clijpy
BSD 3-Clause "New" or "Revised" License
10 stars 1 forks source link

NOTE: Development of CLIJPY is on halt. Check out py-clEsperanto for OpenCL-based GPU-accelerated image processing from python.

CLIJPY

CLIPY is a bridge between CLIJ and python via pyimagej

Image

Right now, this is very preliminary.

Installation

conda create -n pyimagej pyimagej openjdk=8

conda activate pyimagej pip install scikit-image scipy numpy matplotlib gputools


If installation of gputools doesn't work because of issues with pyopencl for Windows, consider downloading a precompiled wheel (e.g. from [here](https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyopencl) ) and installing it manually:

pip install pyopencl-2019.1.1+cl12-cp37-cp37m-win_amd64.whl pip install gputools


## Example code
Examples are available in the [python](https://github.com/clij/clijpy/blob/master/python/) folder. 

After installation, you can call the examples like this:

```bash
conda activate imagej
python demo.py

Please note that you need to update the path to your Fiji installation in order to make the scripts run.

Please note

It is recommended to use clij from Fiji. Python support is under development.

Back to CLIJ documentation

Imprint