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

# S3 method for class 'antsImage'
boxplot(x, ..., mask)

Arguments

x

Object of class antsImage

...

Arguments passed to boxplot.default

mask

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

Value

Output of boxplot

Examples

img <- makeImage(c(10, 10), rnorm(100))
mask <- img > 0
boxplot(img, mask = mask)