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.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)
Syntax
C# |
---|
public static void cvDrawChessboardCorners( IntPtr image, Size patternSize, PointF[] corners, int count, int patternWasFound ) |
Visual Basic (Declaration) |
---|
Public Shared Sub cvDrawChessboardCorners ( _ image As IntPtr, _ patternSize As Size, _ corners As PointF(), _ count As Integer, _ patternWasFound As Integer _ ) |
Visual C++ |
---|
public: static void cvDrawChessboardCorners( IntPtr image, Size patternSize, [InAttribute] array<PointF>^ corners, int count, int patternWasFound ) |
Parameters
- image
- Type: System..::.IntPtr
The destination image; it must be 8-bit color 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
- count
- Type: System..::.Int32
The number of corners
- patternWasFound
- Type: System..::.Int32
Indicates whether the complete board was found (!=0) or not (=0). One may just pass the return value cvFindChessboardCorners here.