ufoym / recursive-bf

A lightweight C++ library for recursive bilateral filtering [Yang, Qingxiong. "Recursive bilateral filtering". European Conference on Computer Vision, 2012].

Home Page:http://ufoym.com/recursive-bf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Recursive bilateral filtering (developed by Qingxiong Yang) is pretty fast compared with most edge-preserving filtering methods

  • computational complexity is linear in both input size and dimensionality:
  • takes about 43 ms to process a one megapixel color image (i7 1.8GHz & 4GB mem)
  • about 18x faster than Fast high-dimensional filtering using the permutohedral lattice
  • about 86x faster than Gaussian kd-trees for fast high-dimensional filtering

Results


Original Image


OpenCV's BF (896ms)


RecursiveBF (18ms)


Gaussian Blur


Median Blur

For more details of 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}
}

Optionally, you can cite this repo

@misc{ming2017recursive,
    author = {Ming Yang},
    title = {A lightweight C++ library for recursive bilateral filtering},
    year = {2017},
    publisher = {GitHub},
    journal = {GitHub repository},
    howpublished = {\url{https://github.com/ufoym/RecursiveBF}}
}

About

A lightweight C++ library for recursive bilateral filtering [Yang, Qingxiong. "Recursive bilateral filtering". European Conference on Computer Vision, 2012].

http://ufoym.com/recursive-bf

License:MIT License


Languages

Language:C++ 99.4%Language:CMake 0.6%