imager (version 0.41.2)

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

Description

Blur image with a box filter (square window)

Usage

boxblur(im, boxsize, neumann = TRUE)

Arguments

im

an image

boxsize

Size of the box window (can be subpixel).

neumann

If true, use Neumann boundary conditions, Dirichlet otherwise (default true, Neumann)

See Also

deriche(), vanvliet().

Examples

Run this code
# NOT RUN {
boxblur(boats,5) %>% plot(main="Dirichlet boundary")
boxblur(boats,5,TRUE) %>% plot(main="Neumann boundary")
# }

Run the code above in your browser using DataCamp Workspace