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.CV
Assembly:  Emgu.CV (in Emgu.CV.dll) Version: 2.1.0.649 (2.1.0.649)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static void DrawChessboardCorners(
	Image<Gray, byte> image,
	Size patternSize,
	PointF[] corners,
	bool patternWasFound
)
Public Shared Sub DrawChessboardCorners ( _
	image As Image(Of Gray, Byte), _
	patternSize As Size, _
	corners As PointF(), _
	patternWasFound As Boolean _
)
public:
static void DrawChessboardCorners(
	Image<Gray, unsigned char>^ image, 
	Size patternSize, 
	array<PointF>^ corners, 
	bool patternWasFound
)

Parameters

image
Image<(Of <(Gray, Byte>)>)
The destination image
patternSize
Size
The number of inner corners per chessboard row and column
corners
array< PointF >[]()[]
The array of corners detected
patternWasFound
Boolean
Result of FindChessboardCorners

See Also