Threshold Quantile Image

quantile_mask(img, mask, probs = 0.85)

Arguments

img

Character vector, or object of class nifti

mask

Mask to determine cumulative distribution function (cdf) from

probs

Probability to threshold at

Value

Object of class nifti