make.mirror.transform: Get the transformation matrix from the Morpho::mirror...

make.mirror.transformR Documentation

Get the transformation matrix from the Morpho::mirror function

Description

Get the transformation matrix from the Morpho::mirror function

Usage

make.mirror.transform(
  x,
  icpiter = 50,
  subsample = NULL,
  pcAlign = FALSE,
  mirroraxis = 1,
  initPC = TRUE,
  initCenter = TRUE,
  mc.cores = 2
)

Arguments

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


alexanderbates/catnat documentation built on Sept. 5, 2023, 4:51 a.m.