histogramMatchImage.Rd
Match intensity profile with a reference image.
histogramMatchImage(
sourceImage,
referenceImage,
numberOfHistogramBins = 255,
numberOfMatchPoints = 64,
useThresholdAtMeanIntensity = FALSE
)
source image intensity matched to reference image.
sourceImage <- antsImageRead(getANTsRData("r16"), 2)
referenceImage <- antsImageRead(getANTsRData("r64"), 2)
matchedImage <- histogramMatchImage(sourceImage, referenceImage)