mrvnrfs.predict.Rd
Represents multiscale feature images as a neighborhood and uses the features to apply a random forest segmentation model to a new image
mrvnrfs.predict(
rflist,
x,
labelmasks,
rad = NA,
multiResSchedule = c(4, 2, 1),
asFactors = TRUE,
voxchunk = 60000
)
a list of random forest models from mrvnrfs
a list of lists where each list contains feature images
a mask (or list of masks) used to define the area to predict. This is used to save time by contstrain the prediction in within the brain.
vector of dimensionality d define nhood radius
an integer vector defining multi-res levels
boolean - treat the y entries as factors
value of maximal voxels to predict at once. This value is used to split the prediction into smaller chunks such that memory requirements do not become too big
list a 4-list with the rf model, training vector, feature matrix and the random mask