enum SmoothMethod_c
Overview
Image smooth methods More…
#include <types_c.h> enum SmoothMethod_c { CV_BLUR_NO_SCALE =0, CV_BLUR =1, CV_GAUSSIAN =2, CV_MEDIAN =3, CV_BILATERAL =4, };
Detailed Documentation
Image smooth methods
Enum Values
CV_BLUR_NO_SCALE
linear convolution with \(\texttt{size1}\times\texttt{size2}\) box kernel (all 1’s). If you want to smooth different pixels with different-size box kernels, you can use the integral image that is computed using integral
CV_BLUR
linear convolution with \(\texttt{size1}\times\texttt{size2}\) box kernel (all 1’s) with subsequent scaling by \(1/(\texttt{size1}\cdot\texttt{size2})\)
CV_GAUSSIAN
linear convolution with a \(\texttt{size1}\times\texttt{size2}\) Gaussian kernel
CV_MEDIAN
median filter with a \(\texttt{size1}\times\texttt{size1}\) square aperture
CV_BILATERAL
bilateral filter with a \(\texttt{size1}\times\texttt{size1}\) square aperture, color sigma= sigma1 and spatial sigma= sigma2. If size1=0, the aperture square side is set to cvRound(sigma2*1.5)*2+1. See cv::bilateralFilter