Draws the individual chessboard corners detected (as red circles) in case if the board was not found (pattern_was_found=0) or the colored corners connected with lines when the board was found (pattern_was_found != 0).

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.2.1.1150 (2.2.1.1150)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static void cvDrawChessboardCorners(
	IntPtr image,
	Size patternSize,
	float[,] corners,
	int count,
	int patternWasFound
)
Public Shared Sub cvDrawChessboardCorners ( _
	image As IntPtr, _
	patternSize As Size, _
	corners As Single(,), _
	count As Integer, _
	patternWasFound As Integer _
)
public:
static void cvDrawChessboardCorners(
	IntPtr image, 
	Size patternSize, 
	array<float,2>^ corners, 
	int count, 
	int patternWasFound
)

Parameters

image
IntPtr
The destination image; it must be 8-bit color image
patternSize
Size
The number of inner corners per chessboard row and column
corners
array<Single,2>[,](,)[,][,]
The array of corners detected
count
Int32
The number of corners
patternWasFound
Int32
Indicates whether the complete board was found (!=0) or not (=0). One may just pass the return value cvFindChessboardCorners here.

See Also