Learn R Programming

imager (version 0.42.19)

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
boxblur_xy(boats,20,5) %>% plot(main="Anisotropic blur")

Run the code above in your browser using DataLab