Skip to content

Instantly share code, notes, and snippets.

View whuaegeanse's full-sized avatar
🎯
Focusing

WhuAegeanSea whuaegeanse

🎯
Focusing
View GitHub Profile
@whuaegeanse
whuaegeanse / README.md
Created October 21, 2015 06:51 — forked from ginrou/README.md
Fast Bilateral Filter

Fast Bilateral Filter implementation for OpenCV

Algorithm and implementation is based on http://people.csail.mit.edu/sparis/bf/ Please cite above paper for research purpose.

Sample Code

#include <iostream>
#include "fastBilateral.hpp"
@whuaegeanse
whuaegeanse / fast_gaussian_blur.cpp
Created October 21, 2015 06:49 — forked from CmdQ/fast_gaussian_blur.cpp
Fast Gaussian blur IIR filter. Building on - “Recursive implementation of the Gaussian filter” by Ian T. Young, Lucas J. van Vliet - “Boundary Conditions for Young - van Vliet Recursive Filtering” by Bill Triggs, Michael Sdika - “Boundary Treatment for Young–van Vliet Recursive Zero-Mean Gabor Filtering” by Vladimir Ulman
#include <algorithm>
#include <array>
#include <memory>
#include <stdexcept>
#include <vector>
typedef std::array<double, 5> b_coefficient_type;
b_coefficient_type b_coefficients(double const sigma)
{
/* See the Young-van Vliet paper: