Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tsurumeso/bilateral

Bilateral Filter implementation using Cython and OpenMP
https://github.com/tsurumeso/bilateral

bilateral-filter cython openmp

Last synced: 5 days ago
JSON representation

Bilateral Filter implementation using Cython and OpenMP

Awesome Lists containing this project

README

        

# Bilateral Filter
Bilateral Filter implementation using Cython and OpenMP.

## Requirements
- Numpy
- Pillow
- Cython

## Build
```
python setup.py build_ext --inplace
```

## Usage
``` python
import filter
from PIL import Image

img = Image.open(path)
bil = filter.bilateral_filter(img, 5, 20, 20)
bil.save('bilateral.png')
```