跳转到内容

SwisTrack/组件/颜色模糊

来自维基教科书,开放世界中的开放书籍

此组件模糊颜色图像。它很昂贵,但可以减少噪声。

灰度或彩色图像。


模糊类型。这是来自 openCV 文档的。

       * CV_BLUR_NO_SCALE (simple blur with no scaling) - summation over a pixel param1×param2 neighborhood. 
         If the neighborhood size is not fixed, one may use cvIntegral function.
       * CV_BLUR (simple blur) - summation over a pixel param1×param2 neighborhood with subsequent scaling by 1/(param1•param2).
       * CV_GAUSSIAN (gaussian blur) - convolving image with param1×param2 Gaussian.
       * CV_MEDIAN (median blur) - finding median of param1×param1 neighborhood (i.e. the neighborhood is square).
       * CV_BILATERAL (bilateral filter) - applying bilateral 3x3 filtering with color sigma=param1 and space sigma=param2.

要平均的正方形的大小。

华夏公益教科书