icp.matrix: ICP matching for two matrices

Description Usage Arguments Value Examples

View source: R/icp.matrix.r

Description

ICP matching for two matrices

Usage

1
icp.matrix(x, y, maxdist = 1, weighting = TRUE, iterations = 3)

Arguments

x

matrix

y

matrix containing target coordinates

maxdist

maximum distance to consider

weighting

logical if TRUE, each point is weighted by the inverse distance to the closest point

iterations

integer: iterations to run

Value

returns scaled, translated and rotated version of x

Examples

1
2
3
require(Morpho)
data(nose)
matchpoint <- icp.matrix(longnose.lm,shortnose.lm, maxdist = 5)

zarquon42b/RResScripts documentation built on May 4, 2019, 9:09 p.m.