Learn R Programming

ANTsR (version 0.4.0)

antsImageIteratorIsAtReverseEnd: antsImageIteratorIsAtReverseEnd

Description

test if iterator is at end of reverse data

Usage

antsImageIteratorIsAtReverseEnd(x)

Arguments

x

antsImageIterator

Value

boolean indicating position

Examples

Run this code
# NOT RUN {
img <- makeImage(c(5,5), rnorm(25))
it <- antsImageIterator( img )
it <- antsImageIteratorGoToReverseBegin( it )
it <- antsImageIteratorPrevious( it )
flag <- antsImageIteratorIsAtReverseEnd( it )
# }

Run the code above in your browser using DataLab