reflectImage: reflectImage

Description Usage Arguments Author(s) See Also Examples

View source: R/reflectImage.R

Description

reflects an image along its axis

Usage

1
reflectImage(img1, axis = NA, tx = NA, metric = "mattes", verbose = TRUE, ...)

Arguments

img1

input object, an antsImage

axis

which dimension to reflect across, numbered from 0 to imageDimension-1

tx

transformation type to estimate after reflection

metric

similarity metric for image registration. see antsRegistration.

verbose

print diagnostic messages, passed to antsRegistration and antsApplyTransforms

...

Additional options to pass to antsRegistration

Author(s)

BB Avants

See Also

antsRegistration

Examples

1
2
3
4
fi<-antsImageRead( getANTsRData("r16") , 2 )
axis = 2
asym<-reflectImage( fi, axis, "Affine" )$warpedmovout
asym<-asym-fi

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