Learn R Programming

ANTsR (version 0.4.0)

antsImageIteratorSetIndex: antsImageIteratorSetIndex

Description

move interator to a given index

Usage

antsImageIteratorSetIndex(x, index)

Arguments

x

antsImageIterator

index

index to move to

Value

TRUE'

Examples

Run this code
# NOT RUN {
img <- makeImage(c(5,5), rnorm(25))
it <- antsImageIterator( img )
flag <- antsImageIteratorSetIndex( it, c(2,3) )
# }

Run the code above in your browser using DataLab