Learn R Programming

imager (version 0.14)

boxblur: Blur image with a box filter (square window)

Description

Blur image with a box filter (square window)

Usage

boxblur(im, sigma, boundary_conditions = TRUE)

Arguments

im
an image
sigma
Size of the box window.
boundary_conditions
Boundary conditions. FALSE: Dirichlet TRUE: Neumann.

See Also

deriche(), vanvliet().

Examples

Run this code
boxblur(boats,5) %>% plot(main="Dirichlet boundary")
boxblur(boats,5,TRUE) %>% plot(main="Neumann boundary")

Run the code above in your browser using DataLab