linMatchIntensity: linMatchIntensity

View source: R/applyDBPN4x.R

linMatchIntensityR Documentation

linMatchIntensity

Description

regression between two image intensity spaces

Usage

linMatchIntensity(fromImg, toImg, polyOrder = 1, truncate = TRUE, mask)

Arguments

fromImg

image whose intensity function we will match to the toImg

toImg

defines the reference intensity function.

polyOrder

of polynomial fit. default is none or just linear fit.

truncate

boolean which turns on/off the clipping of intensity.

mask

mask the matching region

Value

the fromImg matched to the toImg

Author(s)

Avants BB

Examples

library(ANTsRCore)
sourceImage <- antsImageRead( getANTsRData( "r16" ) )
referenceImage <- antsImageRead( getANTsRData( "r64" ) )
matchedImage <- linMatchIntensity( sourceImage, referenceImage )

ANTsX/ANTsRNet documentation built on Nov. 21, 2024, 4:07 a.m.