antsrMetricSetRadius.Rd
set neighborhood radius
antsrMetricSetRadius(metric, radius)
x <- antsImageRead(getANTsRData("r16"))
y <- antsImageRead(getANTsRData("r30"))
metric <- antsrMetricCreate(x, y, type = "ANTSNeighborhoodCorrelation")
antsrMetricSetRadius(metric, 5)