premask
applies a pre-defined mask to a MRI slice in order to select regions of interest
(ROIs) for processing
Usage
premask(slicedata, subsamp=TRUE)
Arguments
slicedata
list as output by read.sliceimg
subsamp
logical variable; if TRUE a downsampled image by a factor
of 2 is used in the MCMC simulation, otherwise the full-sized image is taken.
After parameter estimation, the full-sized image should be used for clustering
and image segmentation. The use of downsampled images can substantially
reduce runtime, with little quality degradation.