antsrMetricSetMovingImageMask.Rd
set moving image for image to image metric
antsrMetricSetMovingImageMask(metric, image)
After calling this, must call antsrMetricInitialize(metric)
x <- antsImageRead(getANTsRData("r16"))
y <- antsImageRead(getANTsRData("r30"))
metric <- antsrMetricCreate(x, y, type = "MeanSquares")
z <- getMask(y)
antsrMetricSetMovingImageMask(metric, z)