Learn R Programming

imager (version 0.14)

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, boundary_conditions = 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.
boundary_conditions
Boundary conditions. Can be { false=dirichlet | true=neumann }.

See Also

blur().

Examples

Run this code
boxblur_xy(boats,20,5) %>% plot(main="Anisotropic blur")

Run the code above in your browser using DataLab