make.mirror.transform | R Documentation |
Get the transformation matrix from the Morpho::mirror function
make.mirror.transform(
x,
icpiter = 50,
subsample = NULL,
pcAlign = FALSE,
mirroraxis = 1,
initPC = TRUE,
initCenter = TRUE,
mc.cores = 2
)
x |
k x 3 matrix or mesh3d |
icpiter |
Number of iterations to run |
subsample |
integer: use only a subset for icp matching |
pcAlign |
if TRUE, the icp will be preceded by an alignment of the principal axis (only used if icpiter > 0), currently only works for 3D data |
mirroraxis |
integer: which axis to mirror at |
initPC |
logical: if TRUE the data will be prealigned by its principal axes |
initCenter |
logical: if TRUE and initPC=FALSE, x will be translated to its centroid before mirroring |
mc.cores |
use parallel processing to find best alignment to original shape |
... |
additional arguments passed to methods |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.