| Crates.io | blud |
| lib.rs | blud |
| version | 0.0.0 |
| created_at | 2023-11-06 04:47:10.438215+00 |
| updated_at | 2023-11-06 04:47:10.438215+00 |
| description | An implementation of "Fastest Gaussian Blur" for N-channel image slices |
| homepage | |
| repository | https://github.com/bend-n/blud |
| max_upload_size | |
| id | 1026401 |
| size | 974,056 |
A fast linear-time gaussian blur based on http://blog.ivank.net/fastest-gaussian-blur.html.
This implementation was based on https://github.com/lsr0/fastblur.
The function in this crate blurs a image, with any number of channels, and the given blur radius. Performance is roughly linear time, space is O(n).
Blur an Image
fn blur_fast(image: &mut fimg::Image<&mut [u8], 4>, radius: f32) {
blud::blur(image, unsafe { umath::FF32::new(radius) })
}