https://github.com/mthh/recbf
Rust library for recursive bilateral filtering
https://github.com/mthh/recbf
image-filtering recursive-bilateral-filtering rust-library
Last synced: over 1 year ago
JSON representation
Rust library for recursive bilateral filtering
- Host: GitHub
- URL: https://github.com/mthh/recbf
- Owner: mthh
- License: mit
- Created: 2017-07-23T13:40:48.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-09-02T18:50:33.000Z (almost 8 years ago)
- Last Synced: 2025-01-30T09:12:23.746Z (over 1 year ago)
- Topics: image-filtering, recursive-bilateral-filtering, rust-library
- Language: Rust
- Homepage:
- Size: 72.3 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Recbf [](https://travis-ci.org/mthh/recbf)
__Rust library for recursive bilateral filtering.__
Example usage with `rust-image` library for reading/writing image files :
```rust
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](https://github.com/ufoym/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}
}
```