Unmasks rows of a matrix and writes as images.
matrixToImages(dataMatrix, mask)
Arguments
- dataMatrix
A matrix such as that created by imagesToMatrix
.
- mask
An antsImage
containing a binary mask.
Rows of the matrix
are unmasked and written as images. The mask defines the output image space.
Examples
if (FALSE) { # \dontrun{
# mat = matrixToImages( aMat, mask )
} # }