View source: R/composeTransformsToField.R
imageDomainToSpatialMatrix | R Documentation |
Transform a d-dimensional image into a d by p matrix that encodes the spatial coordinates of the image domain.
imageDomainToSpatialMatrix(image, mask)
image |
input image |
mask |
optional input mask |
matrix is output
Avants BB
img <- antsImageRead(getANTsRData("r16"))
spmat <- imageDomainToSpatialMatrix(img)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.