Click or drag to resize

CvInvokeEstimateChessboardSharpness Method

http://www.emgu.com
Estimates the sharpness of a detected chessboard. Image sharpness, as well as brightness, are a critical parameter for accuracte camera calibration. For accessing these parameters for filtering out problematic calibraiton images, this method calculates edge profiles by traveling from black to white chessboard cell centers. Based on this, the number of pixels is calculated required to transit from black to white. This width of the transition area is a good indication of how sharp the chessboard is imaged and should be below ~3.0 pixels.

Namespace:  Emgu.CV
Assembly:  Emgu.CV.Platform.NetStandard (in Emgu.CV.Platform.NetStandard.dll) Version: 4.3.0.3890
Syntax
public static MCvScalar EstimateChessboardSharpness(
	IInputArray image,
	Size patternSize,
	IInputArray corners,
	float riseDistance = 0.8f,
	bool vertical = false,
	IOutputArray sharpness = null
)

Parameters

image
Type: Emgu.CVIInputArray
Gray image used to find chessboard corners
patternSize
Type: System.DrawingSize
Size of a found chessboard pattern
corners
Type: Emgu.CVIInputArray
Corners found by findChessboardCorners(SB)
riseDistance (Optional)
Type: SystemSingle
Rise distance 0.8 means 10% ... 90% of the final signal strength
vertical (Optional)
Type: SystemBoolean
By default edge responses for horizontal lines are calculated
sharpness (Optional)
Type: Emgu.CVIOutputArray
Optional output array with a sharpness value for calculated edge responses

Return Value

Type: MCvScalar
Scalar(average sharpness, average min brightness, average max brightness,0)
See Also