Rust library for recursive bilateral filtering.
Example usage with rust-image library for reading/writing image files :
let img = image::open(&Path::new("in.jpg")).unwrap();
let mut content = img.raw_pixels();
recursive_bf(&mut content, sigma_spatial, sigma_range, width, height, channel);
image::save_buffer(Path::new("out.jpg"), &content, width, height, img.color());![]() Original Image |
![]() Recursive Bilateral Filtering |
Translated from RecursiveBF C++ library. For more details on the algorithm, please refer to the original paper :
@inproceedings{yang2012recursive,
title={Recursive bilateral filtering},
author={Yang, Qingxiong},
booktitle={European Conference on Computer Vision},
pages={399--413},
year={2012},
organization={Springer}
}

