test if iterator is at end of data

antsImageIteratorIsAtEnd(x)

Arguments

x

antsImageIterator

Value

boolean indicating position

Examples

img <- makeImage(c(5, 5), rnorm(25))
it <- antsImageIterator(img)
it <- antsImageIteratorNext(it)
flag <- antsImageIteratorIsAtEnd(it)