cv.sqrBoxFilter - MATLAB File Help
cv.sqrBoxFilter

Calculates the normalized sum of squares of the pixel values overlapping the filter

dst = cv.sqrBoxFilter(src)
dst = cv.sqrBoxFilter(src, 'OptionName',optionValue, ...)

Input

Output

Options

For 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.

See also