Back to FabImage Studio website

You are here: Start » Filter Reference » OpenCV » Camera Calibration And 3D Reconstruction » cvEstimateChessboardSharpness

cvEstimateChessboardSharpness


Module: OpenCV

Estimates the sharpness of a detected chessboard. Image sharpness, as well as brightness, are a critical parameter for accuracte camera calibration.

Name Type Range Description
Input value inImage Image Input image
Input value inPatternWidth Integer 3 - Pattern width (chessboard columns - 1)
Input value inPatternHeight Integer 3 - Pattern height (chessboard rows - 1)
Input value inCorners Point2DArray
Input value inRiseDistance Real 0.001 - 1.0 Rise distance 0.8 means 10% ... 90% of the final signal strength
Input value inVertical Bool
Output value outAverageSharpness Real
Output value outAverageMinBrightness Real
Output value outAverageMaxBrightness Real

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Both width and height of the pattern should be bigger than 2 in cvEstimateChessboardSharpness.
DomainError Empty image in cvEstimateChessboardSharpness.
DomainError inImage must have 1 channels of type UInt8 in cvEstimateChessboardSharpness.

Complexity Level

This filter is available on Basic Complexity Level.