Get index at current position

antsImageIteratorGetIndex(x)

Arguments

x

antsImageIterator

Value

image index

Examples

img <- makeImage(c(5, 5), rnorm(25))
it <- antsImageIterator(img)
index <- antsImageIteratorGetIndex(it)