get current value of metric

antsrMetricGetValue(metric)

Arguments

metric

an 'antsrMetric'

Value

image similarity value

Examples

x = antsImageRead( getANTsRData( 'r16' )) y = antsImageRead( getANTsRData( 'r30' )) metric = antsrMetricCreate(x,y,type="MeanSquares") metricValue = antsrMetricGetValue(metric)