| cv.sqrBoxFilter - MATLAB File Help |
Calculates the normalized sum of squares of the pixel values overlapping the filter
dst = cv.sqrBoxFilter(src)
dst = cv.sqrBoxFilter(src, 'OptionName',optionValue, ...)
src and the type specified.class(src)). Default -1,
which chooses between single or double (double if input image is
also double, single otherwise). See cv.filter2D for details.[x,y]. The default value [-1,-1] denotes
that the anchor is at the kernel centerFor every pixel (x,y) in the source image, the function calculates the sum of squares of those neighboring pixel values which overlap the filter placed over the pixel (x,y).
The unnormalized square box filter can be useful in computing local image statistics such as the the local variance and standard deviation around the neighborhood of a pixel.