set neighborhood radius

antsrMetricSetRadius(metric, radius)

Arguments

metric

an 'antsrMetric' of type 'ANTSNeighborhoodCorrelation'

radius

radius of neighborhood

Examples

x = antsImageRead( getANTsRData( 'r16' )) y = antsImageRead( getANTsRData( 'r30' )) metric = antsrMetricCreate(x,y,type="ANTSNeighborhoodCorrelation") antsrMetricSetRadius(metric,5)