sqrBoxFilter: Blurs an Image Using a Square Box Filter

Description Usage Arguments Value Author(s) See Also Examples

View source: R/filters.R

Description

sqrBoxFilter calculates the normalized and unnormalized sum of squares of the pixels in a box surrounding focal pixel. The result is a blurred version of the source image.

Usage

1
sqrBoxFilter(image, k_height = 5, k_width = 5, normalize = TRUE)

Arguments

image

An Image object.

k_height

The half-height in pixels of the kernel (default: 5).

k_width

The half-width in pixels of the kernel (default: 5).

normalize

Whether the kernel is to be normalized by its area (default: true).

Value

image An Image object.

Author(s)

Simon Garnier, garnier@njit.edu

See Also

Image, boxFilter

Examples

1
# TODO

neuroconductor-devel-releases/Rvision documentation built on Oct. 27, 2020, 1:16 p.m.