linda_mrvnrfs.predict_chunks: multi-res voxelwise neighborhood random forest segmentation

Description Usage Arguments Value Author(s)

View source: R/mrvnrfs_predict_chunks.R

Description

Represents multiscale feature images as a neighborhood and uses the features to apply a random forest segmentation model to a new image

Usage

1
2
3
linda_mrvnrfs.predict_chunks(rflist, x, labelmask, rad = NA,
  multiResSchedule = c(4, 2, 1), asFactors = TRUE, voxchunk = 1000,
  verbose = TRUE)

Arguments

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

Value

list a 4-list with the rf model, training vector, feature matrix and the random mask

Author(s)

Avants BB, Tustison NJ, Pustina D


neuroconductor/LINDA documentation built on May 21, 2020, 3:34 p.m.