antsImageIteratorSet: antsImageIteratorSet

View source: R/antsImageIterator_class.R

antsImageIteratorSetR Documentation

antsImageIteratorSet

Description

Set value at current position

Usage

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)

stnava/ANTsR documentation built on April 13, 2025, 4:10 a.m.