Attempts to determine whether the input image is a view of the chessboard pattern and locate internal chessboard corners
Namespace:
Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.1.0.649 (2.1.0.649)
Syntax
C# | Visual Basic | Visual C++ |
Parameters
- image
- IntPtr
Source chessboard view; it must be 8-bit grayscale or color image
- patternSize
- Size
The number of inner corners per chessboard row and column
- corners
- array<
Single
,2>[,](,)[,]
The output array of corners detected
- cornerCount
-
Int32
%
The output corner counter. If it is not IntPtr.Zero, the function stores there the number of corners found
- flags
- CALIB_CB_TYPE
Various operation flags
Return Value
Non-zero value if all the corners have been found and they have been placed in a certain order (row by row, left to right in every row), otherwise, if the function fails to find all the corners or reorder them, it returns 0
Remarks
The coordinates detected are approximate, and to determine their position more accurately, the user may use the function cvFindCornerSubPix