Click or drag to resize

CvInvokeFindChessboardCorners Method

http://www.emgu.com
Attempts to determine whether the input image is a view of the chessboard pattern and locate internal chessboard corners

Namespace:  Emgu.CV
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntax
public static bool FindChessboardCorners(
	IInputArray image,
	Size patternSize,
	IOutputArray corners,
	CalibCbType flags = CalibCbType.AdaptiveThresh|CalibCbType.NormalizeImage
)

Parameters

image
Type: Emgu.CVIInputArray
Source chessboard view; it must be 8-bit grayscale or color image
patternSize
Type: System.DrawingSize
The number of inner corners per chessboard row and column
corners
Type: Emgu.CVIOutputArray
Pointer to the output array of corners(PointF) detected
flags (Optional)
Type: Emgu.CV.CvEnumCalibCbType
Various operation flags

Return Value

Type: Boolean
True 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
See Also