Method DrawChessboardCorners
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
DrawChessboardCorners(InputOutputArray, Size, InputArray, bool)
Renders the detected chessboard corners.
public static void DrawChessboardCorners(InputOutputArray image, Size patternSize, InputArray corners, bool patternWasFound)
Parameters
imageInputOutputArrayDestination image. It must be an 8-bit color image.
patternSizeSizeNumber of inner corners per a chessboard row and column (patternSize = cv::Size(points_per_row,points_per_column)).
cornersInputArrayArray of detected corners, the output of findChessboardCorners.
patternWasFoundboolParameter indicating whether the complete board was found or not. The return value of findChessboardCorners() should be passed here.
DrawChessboardCorners(InputOutputArray, Size, IEnumerable<Point2f>, bool)
Renders the detected chessboard corners.
[SuppressMessage("Maintainability", "CA1508: Avoid dead conditional code")]
public static void DrawChessboardCorners(InputOutputArray image, Size patternSize, IEnumerable<Point2f> corners, bool patternWasFound)
Parameters
imageInputOutputArrayDestination image. It must be an 8-bit color image.
patternSizeSizeNumber of inner corners per a chessboard row and column (patternSize = cv::Size(points_per_row,points_per_column)).
cornersIEnumerable<Point2f>Array of detected corners, the output of findChessboardCorners.
patternWasFoundboolParameter indicating whether the complete board was found or not. The return value of findChessboardCorners() should be passed here.