box_blur: Apply box blur to a matrix

View source: R/main.R

box_blurR Documentation

Apply box blur to a matrix

Description

Smooths a matrix of values by applying a box blur, in which each pixel of a matrix is replaced with the average value of pixels in a box around it.

Usage

box_blur(m, d = 5)

Arguments

m

a matrix of values to be blurred.

d

the distance either side of each pixel that is searched when blurring


bobverity/bobfunctions2 documentation built on July 4, 2023, 8:55 p.m.