transformPlanarCalibrationCoordinates: Performs rotational and translational transformations to a...

Description Usage Arguments Value Author(s) See Also

Description

This function rotates and translates a planar grid or grids according to specified transformation parameters. This function is called by dltCalibrateCameras, to find the optimal transformation parameters for a set of arbitrarily oriented grid points that minimizes DLT calibration error. This function is also called by dltTestCalibration to generate an ideal grid for accuracy testing.

Usage

1

Arguments

tpar

a vector of six transformation parameters per grid. The first three being rotational parameters (rotation about the z, y and x axes, respectively) and the second three being translational parameters (translation along the x, y and z axes, respectively). For more than one grid, these six values are concatenated as a vector.

nx

the number of points along the first dimension (e.g. this would be the number of points in each row if points are listed first by row).

ny

the number of points along the second dimension (e.g. this would be the number of points in each column if points are listed first by row).

sx

a scaling factor along the first dimension.

sy

a scaling factor along the second dimension. If the grid blocks are squares, this can be left as NULL and only sx will be used.

Value

a matrix of transformed 3D grid coordinates

Author(s)

Aaron Olsen

See Also

dltCalibrateCameras, dltTransformationParameterRMSError, dltTestCalibration


nitlon/Eartheaters documentation built on May 23, 2019, 7:06 p.m.