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

https://github.com/vmchale/img-fut

Image manipulation in Futhark
https://github.com/vmchale/img-fut

Last synced: 9 months ago
JSON representation

Image manipulation in Futhark

Awesome Lists containing this project

README

          

# img-fut

An image library in [Futhark](https://futhark-lang.org/) providing
multidimensional image processing à la
[scipy](https://docs.scipy.org/doc/scipy/reference/ndimage.html).

Documentation is [here](https://vmchale.github.io/img-fut/).

## Performance

When using the GPU, `img-fut` outperforms
[SciPy](https://scipy.org/) on large images and performs similarly for small
images.

### Benchmarks

| Image Size | Filter | Backend | Time |
| ---------- | ------ | ------- | ---- |
| 400x300 | Mean Filter | img-fut | 0.6683 ms |
| 400x300 | Mean Filter | SciPy | 0.5669 ms |
| 400x300 | Gaussian | img-fut | 1.805 ms |
| 400x300 | Gaussian | SciPy | 2.899 ms |
| 1920x1236 | Mean Filter | img-fut | 8.480 ms |
| 1920x1236 | Mean Filter | SciPy | 19.41 ms |
| 1920x1236 | Gaussian | img-fut | 28.82 ms |
| 1920x1236 | Gaussian | SciPy | 61.22 ms |