estimateCheckerboardCorners3d
(To be removed) Estimate world frame coordinates of checkerboard corner points in image
function will be
removed in a future release. Use the estimateCheckerboardCorners3destimateBoardCornersCamera function instead. (since R2026a)
Syntax
Description
estimates the world frame coordinates of the corner points of a checkerboard in an image,
boardCorners = estimateCheckerboardCorners3d(I,cameraIntrinsic,checkerSize)I, by using the camera intrinsic parameters
cameraIntrinsic and the size of the checkerboard squares
checkerSize.
[
additionally returns the checkerboard size boardCorners,boardSize] = estimateCheckerboardCorners3d(I,cameraIntrinsic,checkerSize)boardSize.
[
estimates the world frame coordinates of the corner points of a checkerboard from a set of
image files, boardCorners,boardSize,imagesUsed] = estimateCheckerboardCorners3d(imageFileNames,cameraIntrinsic,checkerSize)imageFileNames. The function returns a logical vector that
indicates in which images it detected a checkerboard, imagesUsed, in
addition to output arguments from previous syntaxes.
[___] = estimateCheckerboardCorners3d(
estimates the world frame coordinates of the corner points of a checkerboard from an array
of images, imageArray,cameraIntrinsic,checkerSize)imageArray.
[___] = estimateCheckerboardCorners3d(___,
specifies options using one or more name-value pair arguments in addition to any combination
of arguments from previous syntaxes. For example, Name,Value)'MinCornerMetric',0.2
sets the threshold for the checkerboard corner metric to 0.2.
Input Arguments
Name-Value Arguments
Output Arguments
Limitations
Partial detection of checkerboard is not supported.
Algorithms
The algorithm first detects the checkerboard keypoints in the image and undistorts them using the provided camera intrinsics input. It then generates world points based on the checkerboard pattern dimensions. Using the undistorted image keypoints, generated world points, and camera intrinsics, the algorithm estimates the camera extrinsics. The board corners are estimated by extending from the origin keypoint according to the board size and padding. Finally, these board corners are transformed from the world coordinate frame to the camera coordinate frame using the estimated extrinsics.
