Learn R Programming

ANTsR (version 1.0)

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
# NOT RUN {
fi<-antsImageRead( getANTsRData("r16") , 2 )
asym<-fi %>% reflectImage( 1, "Affine" ) %>%  - fi
# }

Run the code above in your browser using DataLab