-
void
-
Smoothes image using box filter
Parameters: - src
– The source image - dst
– The destination image; willhave the same size and the same type as src - ksize
– The smoothing kernelsize - anchor
– The anchor point. Thedefault value Point(-1,-1) means that theanchor is at the kernel center - normalize
– Indicates, whetherthe kernel is normalized by its area or not - borderType
– The border mode usedto extrapolate pixels outside of the image
- src
The function smoothes the image using the kernel:
where
Unnormalized box filter is useful for computing various integralcharacteristics over each pixel neighborhood, such as covariationmatrices of image derivatives (used in dense optical flowalgorithms, etc.). If you need to compute pixel sums overvariable-size windows, use
See also: