boxblur {imager} | R Documentation |
Blur image with a box filter (square window)
boxblur(im, boxsize, neumann = TRUE)
im |
an image |
boxsize |
Size of the box window (can be subpixel). |
neumann |
If true, use Neumann boundary conditions, Dirichlet otherwise (default true, Neumann) |
deriche(), vanvliet().
boxblur(boats,5) %>% plot(main="Dirichlet boundary")
boxblur(boats,5,TRUE) %>% plot(main="Neumann boundary")