powered by
Blur image with a box filter (square window)
boxblur(im, boxsize, neumann = TRUE)
an image
Size of the box window (can be subpixel).
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")
Run the code above in your browser using DataLab