Description Usage Arguments Value Examples
View source: R/spm_probs_to_seg.R
Converts probability images from SPM segmentation to a hard, choose-one segmentation
1 | 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
1 2 3 4 5 | ## Not run:
spm_seg = spm12_segment(image)$outfiles
seg = spm_probs_to_seg(spm_seg)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.