Learn R Programming

imager (version 0.45.8)

isoblur: Blur image isotropically.

Description

Blur image isotropically.

Usage

isoblur(im, sigma, neumann = TRUE, gaussian = TRUE, na.rm = FALSE)

Arguments

im

an image

sigma

Standard deviation of the blur (positive)

neumann

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

gaussian

Use a Gaussian filter (actually van Vliet-Young). Default: 0th-order Deriche filter.

na.rm

if TRUE, ignore NA values. Default FALSE, in which case the whole image is NA if one of the values is NA (following the definition of the Gaussian filter)

See Also

deriche,vanvliet,inpaint,medianblur

Examples

Run this code
cimg.limit.openmp()
isoblur(boats,3) %>% plot(main="Isotropic blur, sigma=3")
isoblur(boats,10) %>% plot(main="Isotropic blur, sigma=10")

Run the code above in your browser using DataLab