This function will return n-dimensionality coordinate images that encode the spatial ITK coordinates of the image domain.

coordinateImages(mask, physicalCoordinates = TRUE)

Arguments

mask

defining wherein we create coordinates

physicalCoordinates

boolean select index or phyiscal coordinates

Value

list of coordinate images

Author

Avants BB

Examples

library(ANTsR) img <- ri( 1 ) coords = coordinateImages( img * 0 + 1, TRUE )