Method MatchImagePoints
- Namespace
- OpenCvSharp.Aruco
- Assembly
- OpenCvSharp.dll
MatchImagePoints(Point2f[], InputArray, OutputArray, OutputArray)
Given a board configuration and a set of detected ChArUco corners, returns the corresponding image points and object points, can be used in solvePnP(). Overload of MatchImagePoints(Point2f[][], InputArray, OutputArray, OutputArray) for CharucoBoard, whose detected corners are a flat list of ChArUco corners rather than a jagged per-marker array.
public void MatchImagePoints(Point2f[] detectedCorners, InputArray detectedIds, OutputArray objPoints, OutputArray imgPoints)
Parameters
detectedCornersPoint2f[]List of detected ChArUco corners of the board.
detectedIdsInputArrayList of identifiers for each charuco corner.
objPointsOutputArrayVector of marker points in the board coordinate space.
imgPointsOutputArrayVector of marker points in the image coordinate space.