| unique.antsImage | R Documentation | 
Overloaded uniqueness operation for antsImage objects
## S3 method for class 'antsImage'
unique(x, incomparables = FALSE, mask = NULL, ...)
x | 
 is an object of class   | 
incomparables | 
 a vector of values that cannot be compared.  | 
mask | 
 binary mask of values to subset  | 
... | 
 additional arguments passed to   | 
img <- antsImageRead(getANTsRData("r16"))
img[img > 5] <- 0
sort(unique(img))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.