antsrMetricGetValue: antsrMetricGetValue

View source: R/antsrMetric_class.R

antsrMetricGetValueR Documentation

antsrMetricGetValue

Description

get current value of metric

Usage

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)

stnava/ANTsR documentation built on April 16, 2024, 12:17 a.m.