move interator to a given index

antsImageIteratorSetIndex(x, index)

Arguments

x

antsImageIterator

index

index to move to

Value

TRUE'

Examples

img <- makeImage(c(5,5), rnorm(25)) it <- antsImageIterator( img ) flag <- antsImageIteratorSetIndex( it, c(2,3) )