powered by
reflects an image along its axis
reflectImage(img1, axis = NA, tx = NA)
input object, an antsImage
which dimension to reflect across
transformation type to estimate after reflection
# NOT RUN { fi<-antsImageRead( getANTsRData("r16") , 2 ) asym<-reflectImage( fi, 1, "Affine" )$warpedmovout asym<-asym-fi # }
Run the code above in your browser using DataLab