View source: R/antsTransformPoints.R
antsTransformIndexToPhysicalPoint | R Documentation |
Get spatial point from index of an antsImage
.
antsTransformIndexToPhysicalPoint(x, index)
x |
image object of S4 class |
index |
image index |
array of pixel values
img <- makeImage(c(10, 10), rnorm(100))
pt <- antsTransformIndexToPhysicalPoint(img, c(2, 2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.