powered by
Get spatial point from index of an antsImage.
antsImage
antsTransformIndexToPhysicalPoint(x, index)
image object of S4 class antsImage to get values from.
image index
array of pixel values
# NOT RUN { img <- makeImage(c(10,10),rnorm(100)) pt <- antsTransformIndexToPhysicalPoint(img, c(2,2)) # }
Run the code above in your browser using DataLab