a logical. TRUE produces a matrix output. FALSE produces a list output to reduce the data memorry.
mask
a vector.
brainpos
a logical vector.
Details
rbfunc requires the dimensions of the original image to be applied and the knot interval. The output is obtained as a matrix, with the number of rows corresponding to the number of voxels in the original image and the number of columns determined by the knot spacing. By setting hispec = TRUE, you can get the output in list format with a smaller memory.