powered by
antsGetSpacing(x) antsSetSpacing(x, spacing) antsGetOrigin(x) antsSetOrigin(x, origin) antsGetDirection(x) antsSetDirection(x, direction)
d
d * d
get
set
img <- makeImage(c(5,5), rnorm(25)) antsSetSpacing(img, c(2.0, 2.0)) antsSetOrigin(img, c(0.5, 0.5))
Run the code above in your browser using DataLab