Emgu.CV.CameraCalibration.DrawChessboardCorners C# (CSharp) Метод

DrawChessboardCorners() публичный статический Метод

Draws the individual chessboard corners detected (as red circles) in case if the board was not found (patternWasFound== false) or the colored corners connected with lines when the board was found (patternWasFound == true).
public static DrawChessboardCorners ( Byte>.Image image, Size patternSize, PointF corners ) : void
image Byte>.Image The destination image
patternSize System.Drawing.Size The number of inner corners per chessboard row and column
corners System.Drawing.PointF The array of corners detected. Can be null if no corners were found
Результат void
        public static void DrawChessboardCorners(
         Image<Gray, Byte> image,
         Size patternSize,
         PointF[] corners)
        {
            CvInvoke.cvDrawChessboardCorners(
            image.Ptr,
            patternSize,
            corners,
            corners.Length,
            corners != null ? 1 : 0);
        }