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

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

Awesome Lists containing this project

README

          

# Recbf [![Build Status](https://travis-ci.org/mthh/recbf.svg?branch=master)](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}
}
```