histogramMatchImage: histogramMatchImage

Description Usage Arguments Value Author(s) Examples

View source: R/histogramMatchImage.R

Description

Match intensity profile with a reference image.

Usage

1
2
3
4
5
6
7
histogramMatchImage(
  sourceImage,
  referenceImage,
  numberOfHistogramBins = 255,
  numberOfMatchPoints = 64,
  useThresholdAtMeanIntensity = FALSE
)

Arguments

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.

Value

source image intensity matched to reference image.

Author(s)

NJ Tustison

Examples

1
2
3
sourceImage <- antsImageRead( getANTsRData( "r16" ), 2 )
referenceImage <- antsImageRead( getANTsRData( "r64" ), 2 )
matchedImage <- histogramMatchImage( sourceImage, referenceImage )

neuroconductor-devel/ANTsR documentation built on April 1, 2021, 1:02 p.m.