Learn R Programming

ANTsR (version 0.3.3)

matrixToImages: Convert rows of a matrix to images

Description

Unmasks rows of a matrix and writes as images.

Usage

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.

See Also

imagesToMatrix, getMask

Examples

Run this code

## Not run: 
#   # mat = matrixToImages( aMat, mask )
# ## End(Not run)


Run the code above in your browser using DataLab