density.antsImage: Density of Values in an Image

Description Usage Arguments Value Examples

Description

Computes the density of values of an image with the option for a mask.

Usage

1
2
## S3 method for class 'antsImage'
density(x, ..., mask)

Arguments

x

Object of class antsImage

...

Arguments passed to density.default

mask

object to subset the image. If missing, then all values of the image are plotted.

Value

Output of density

Examples

1
2
3
img = makeImage(c(10,10),rnorm(100))
mask = img > 0
density(img, mask = mask)

muschellij2/atropos documentation built on May 4, 2019, 3:17 p.m.