reflectImage | R Documentation |
reflects an image along its axis
reflectImage(img1, axis = NA, tx = NA, metric = "mattes", verbose = TRUE, ...)
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 |
verbose |
print diagnostic messages, passed to
|
... |
Additional options to pass to |
BB Avants
antsRegistration
fi <- antsImageRead(getANTsRData("r16"), 2)
axis <- 2
asym <- reflectImage(fi, axis, "Affine")$warpedmovout
asym <- asym - fi
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.