antsrMetricSetRadius.Rd
set neighborhood radius
antsrMetricSetRadius(metric, radius)
metric | an 'antsrMetric' of type 'ANTSNeighborhoodCorrelation' |
---|---|
radius | radius of neighborhood |
x = antsImageRead( getANTsRData( 'r16' )) y = antsImageRead( getANTsRData( 'r30' )) metric = antsrMetricCreate(x,y,type="ANTSNeighborhoodCorrelation") antsrMetricSetRadius(metric,5)