spm_probs_to_seg.RdConverts probability images from SPM segmentation to a hard, choose-one segmentation
spm_probs_to_seg(img, ties.method = c("first", "last", "random"))
| img | list of images for probabilities for each class |
|---|---|
| ties.method | a character string specifying how ties are handled.
See |
Object of class nifti