imagePlaneGridTransformError: Returns imagePlaneGridTransform error

View source: R/imagePlaneGridTransformError.R

imagePlaneGridTransformErrorR Documentation

Returns imagePlaneGridTransform error

Description

Returns the mean error between a matrix of grid points and a matrix of transformed grid points (produced by imagePlaneGridTransform). This function is called internally by the function resampleGridImagePoints in evaluating the goodness of fit between imaged grid points and grid points produced by an image perspective model.

Usage

imagePlaneGridTransformError(p, nx, ny, grid)

Arguments

p

a vector of 12 grid parameters (see imagePlaneGridTransform).

nx

the number of points along the first dimension.

ny

the number of points along the second dimension.

grid

a matrix of grid points to be compared against the model grid points.

Value

the mean error.

Author(s)

Aaron Olsen

See Also

imagePlaneGridTransform, resampleGridImagePoints


aaronolsen/StereoMorph documentation built on June 2, 2022, 4:09 a.m.