linMatchIntensity | R Documentation |
regression between two image intensity spaces
linMatchIntensity(fromImg, toImg, polyOrder = 1, truncate = TRUE, mask)
fromImg |
image whose intensity function we will match to the |
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 |
the fromImg
matched to the toImg
Avants BB
library(ANTsRCore)
sourceImage <- antsImageRead( getANTsRData( "r16" ) )
referenceImage <- antsImageRead( getANTsRData( "r64" ) )
matchedImage <- linMatchIntensity( sourceImage, referenceImage )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.