imager (version 0.42.7)

boxblur_xy: Blur image with a box filter.

Description

This is a recursive algorithm, not depending on the values of the box kernel size.

Usage

boxblur_xy(im, sx, sy, neumann = TRUE)

Arguments

im

an image

sx

Size of the box window, along the X-axis.

sy

Size of the box window, along the Y-axis.

neumann

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

See Also

blur().

Examples

Run this code
# NOT RUN {
boxblur_xy(boats,20,5) %>% plot(main="Anisotropic blur")
# }

Run the code above in your browser using DataCamp Workspace