Set value at current position

antsImageIteratorSet(x, value)

Arguments

x

antsImageIterator

value

pixel value to set

Value

TRUE'

Examples

img <- makeImage(c(5, 5), rnorm(25))
it <- antsImageIterator(img)
flag <- antsImageIteratorSet(it, 2.0)