Learn R Programming

ANTsR (version 0.4.0)

antsImageIteratorGet: antsImageIteratorGet

Description

Get value at current position

Usage

antsImageIteratorGet(x)

Arguments

x

antsImageIterator

Value

pixel value

Examples

Run this code
# NOT RUN {
img <- makeImage(c(5,5), rnorm(25))
it <- antsImageIterator( img )
value <- antsImageIteratorGet( it )
# }

Run the code above in your browser using DataLab