quantile.antsImage: Sample Quantiles

Description Usage Arguments Value Examples

Description

Computes sample quantiles for an image, with the option of a mask.

Usage

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

Arguments

x

Object of class antsImage

...

Arguments passed to quantile

mask

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

Value

Output of quantile

Examples

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

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