Tries to do the correct STAPLE algorithm (binary/multi-class) for the type of input (array/matrix/list of images/filenames of images)
staple(x, ..., set_orient = FALSE)# S3 method for default
staple(x, ..., set_orient = FALSE)
# S3 method for list
staple(x, ..., set_orient = FALSE)
# S3 method for character
staple(x, ..., set_orient = FALSE)
# S3 method for array
staple(x, ..., set_orient = FALSE)
a nxr matrix where there are n raters and r elements rated,
a list of images, or a character vector. Note, readNifti
is used for image filenames
Options for STAPLE, see staple_bin_mat
and
staple_multi_mat
Should the orientation be set to the same if x is a
set of images, including niftiImage
s.