Start » Filter Reference » OpenCV » Camera Calibration And 3D Reconstruction » CreateChessboardMatrix

CreateChessboardMatrix


Module: OpenCV

Creates simple array with object points.

Name Type Range Description
Input value
inBeginX Integer X of top left corner
Input value
inBeginY Integer Y of top left corner
Input value
inStep Real Distance between adjacent points
Input value
inWidth Integer 0 - Number of columns
Input value
inHeight Integer 0 - Number of rows
Input value
inRepeats Integer 0 - Number of copies of the pattern returned
Output value
outPoints Point3DArrayArray

Examples

When used with inWidth = 2, inHeight = 3, inRepeats = 1 and inStep = 1, the following Point3D array will be generated:
Point3D(X: 0,000, Y: 0,000, Z: 0,000)
Point3D(X: 1,000, Y: 0,000, Z: 0,000)
Point3D(X: 0,000, Y: 1,000, Z: 0,000)
Point3D(X: 1,000, Y: 1,000, Z: 0,000)
Point3D(X: 0,000, Y: 2,000, Z: 0,000)
Point3D(X: 1,000, Y: 2,000, Z: 0,000)

Remarks

This filter is not a wrapper of an OpenCV function, but it is an utility function, which allows for easier usage of some OpenCV function wrappers.

Complexity Level

This filter is available on Basic Complexity Level.

See Also

  • cvCalibrateCamera – Finds the camera intrinsic and extrinsic parameters from pairs of corresponding image and object points arrays.