antsrMetricSetNumberOfHistogramBins.Rd
set histogram bins image to image metric
antsrMetricSetNumberOfHistogramBins(metric, nBins)
x <- antsImageRead(getANTsRData("r16"))
y <- antsImageRead(getANTsRData("r30"))
metric <- antsrMetricCreate(x, y, type = "MattesMutualInformation")
antsrMetricSetNumberOfHistogramBins(metric, 12)