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).
Namespace:
Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)
Syntax
C# |
---|
public static void DrawChessboardCorners( Image<Gray, byte> image, Size patternSize, PointF[] corners, bool patternWasFound ) |
Visual Basic (Declaration) |
---|
Public Shared Sub DrawChessboardCorners ( _ image As Image(Of Gray, Byte), _ patternSize As Size, _ corners As PointF(), _ patternWasFound As Boolean _ ) |
Visual C++ |
---|
public: static void DrawChessboardCorners( Image<Gray, unsigned char>^ image, Size patternSize, array<PointF>^ corners, bool patternWasFound ) |
Parameters
- image
- Type: Emgu.CV..::.Image<(Of <(Gray, Byte>)>)
The destination image
- patternSize
- Type: System.Drawing..::.Size
The number of inner corners per chessboard row and column
- corners
- Type: array<
System.Drawing..::.PointF
>[]()[]
The array of corners detected
- patternWasFound
- Type: System..::.Boolean
Result of FindChessboardCorners