antsImageIteratorSet.Rd
Set value at current position
antsImageIteratorSet(x, value)
x | antsImageIterator |
---|---|
value | pixel value to set |
TRUE'
img <- makeImage(c(5,5), rnorm(25)) it <- antsImageIterator( img ) flag <- antsImageIteratorSet( it, 2.0 )