Description Usage Arguments Value Author(s)
View source: R/mrvnrfs_predict_chunks.R
Represents multiscale feature images as a neighborhood and uses the features to apply a random forest segmentation model to a new image
1 2 3 | linda_mrvnrfs.predict_chunks(rflist, x, labelmask, rad = NA,
multiResSchedule = c(4, 2, 1), asFactors = TRUE, voxchunk = 1000,
verbose = TRUE)
|
rflist |
a list of random forest models from mrvnrfs |
x |
a list of lists where each list contains feature images |
labelmask |
a mask for the features (all in the same image space) |
rad |
vector of dimensionality d define nhood radius |
multiResSchedule |
an integer vector defining multi-res levels |
asFactors |
boolean - treat the y entries as factors |
voxchunk |
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 |
verbose |
print diagnostic messages |
list a 4-list with the rf model, training vector, feature matrix and the random mask
Avants BB, Tustison NJ, Pustina D
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.