hls::GaussianBlur


Synopsis

template<int KH, int KW, int ROWS, int COLS, int SRC_T, int DST_T>
void hls::GaussianBlur( hls::Mat<ROWS, COLS, SRC_T>& src,
                        hls::Mat<ROWS, COLS, DST_T>& dst );

Parameters

  • src – the input image.
  • dst – the output image.

Description


Applies a normalized 2D Gaussian Blur filter to the input image. The filter coefficients are determined by the KH and KW parameter, which must be both 3 or 5.
The 3×3 filter taps are given by:
GaussianBlur1.png
The 5×5 filter taps are given by:
GaussianBlur2.png

OpenCV reference


cv::GaussianBlur