Learn R Programming

ANTsR (version 1.0)

smoothImage: Smooth image

Description

Perform smoothing on the given image with a given sigma, defined in physical space units

Usage

smoothImage( inimg, sigma )

Arguments

inimg

Input image to operate on

sigma

Smoothing factor. Either scalar, or vector of length dim for dim-dimensional image.

Value

antsImage smoothed

Examples

Run this code
# NOT RUN {
img<-makeImage(c(5,5),rnorm(25))
simg<-smoothImage( img ,c(1.2,1.5) )
# }

Run the code above in your browser using DataLab