25 template<
class T>
inline void clip_lower(T &a,
float f_lim,
float f_set)
27 for (arma::uword i = 0; i < a.n_elem; i++)
41 template<
class T>
inline void clip_lower(T& a,
float f_lim)
46 arma::fmat
conv(
const arma::fmat & a,
49 arma::fmat
conv2(
const arma::fmat & a,
52 arma::fmat
wiener2(
const arma::fmat & a,
55 arma::fmat
median(
const arma::fmat & a,
arma::fmat median(const arma::fmat &a, arma::u32 iSize)
Apply a median filter to an arma matrix (based on matlab implementation)
Definition: filters.cpp:55
arma::fmat conv2(const arma::fmat &a, arma::fmat kernel)
Convolve a matrix with a 2D filter kernel (based on matlab implementation)
Definition: filters.cpp:139
void savitzky_golay(arma::fcube &in, int window=5)
Definition: filters.cpp:202
arma::fmat wiener2(const arma::fmat &a, arma::fvec nhood)
Apply a de-blurring wiener filter to an arma matrix (based on matlab implementation) ...
Definition: filters.cpp:17
void clip_lower(T &a, float f_lim, float f_set)
Clip arma matrix values below a lower limit and set clipped values to an arbitrary value...
Definition: filters.h:25
arma::fmat conv(const arma::fmat &a, arma::fvec kernel)
Convolve a matrix with a 1D filter kernel (based on matlab implementation)
Definition: filters.cpp:102
void moving_average(arma::fcube &in, int window=3)
Definition: filters.cpp:271