isoblur: Blur image isotropically.

View source: R/filtering.R

isoblurR Documentation

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


isoblur(boats,3) %>% plot(main="Isotropic blur, sigma=3")
isoblur(boats,10) %>% plot(main="Isotropic blur, sigma=10")

imager documentation built on May 29, 2024, 1:38 a.m.