View source: R/histogramMatchImage.R
histogramMatchImage | R Documentation |
Match intensity profile with a reference image.
histogramMatchImage(
sourceImage,
referenceImage,
numberOfHistogramBins = 255,
numberOfMatchPoints = 64,
useThresholdAtMeanIntensity = FALSE
)
sourceImage |
image to undergo intensity transformation. |
referenceImage |
image providing reference intensity profile. |
numberOfHistogramBins |
number of histogram levels. |
numberOfMatchPoints |
number of histogram match points. |
useThresholdAtMeanIntensity |
use a simple background exclusion criterion. |
source image intensity matched to reference image.
NJ Tustison
sourceImage <- antsImageRead(getANTsRData("r16"), 2)
referenceImage <- antsImageRead(getANTsRData("r64"), 2)
matchedImage <- histogramMatchImage(sourceImage, referenceImage)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.