antsrMetricInitialize.Rd
prepare to return values
antsrMetricInitialize(metric)
metric | an 'antsrMetric' |
---|
must call this after setting up object, before getting values back
x = antsImageRead( getANTsRData( 'r16' )) y = antsImageRead( getANTsRData( 'r30' )) z = getMask(y) metric = antsrMetricCreate(x,y,type="MeanSquares") antsrMetricSetMovingImageMask(metric, z) antsrMetricInitialize(metric)#> [1] NA