跳轉到內容

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.

要平均的正方形的大小。

華夏公益教科書