Learn R Programming

ANTsR (version 0.3.3)

reflectImage: reflectImage

Description

reflects an image along its axis

Usage

reflectImage(img1, axis = NA, tx = NA)

Arguments

img1
input object, an antsImage
axis
which dimension to reflect across
tx
transformation type to estimate after reflection

Examples

Run this code

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

Run the code above in your browser using DataLab