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
- Host: GitHub
- URL: https://github.com/vmchale/img-fut
- Owner: vmchale
- License: bsd-3-clause
- Created: 2020-01-28T01:13:54.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-07-03T14:37:03.000Z (almost 5 years ago)
- Last Synced: 2025-01-08T12:08:08.336Z (over 1 year ago)
- Language: Futhark
- Size: 1.34 MB
- Stars: 6
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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 |