Click or drag to resize

MatCornerSubPix Method

adjusts the corner locations with sub-pixel accuracy to maximize the certain cornerness criteria

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public Point2f[] CornerSubPix(
	IEnumerable<Point2f> inputCorners,
	Size winSize,
	Size zeroZone,
	TermCriteria criteria
)

Parameters

inputCorners
Type: System.Collections.GenericIEnumerablePoint2f
Initial coordinates of the input corners and refined coordinates provided for output.
winSize
Type: OpenCvSharpSize
Half of the side length of the search window.
zeroZone
Type: OpenCvSharpSize
Half of the size of the dead region in the middle of the search zone over which the summation in the formula below is not done. It is used sometimes to avoid possible singularities of the autocorrelation matrix. The value of (-1,-1) indicates that there is no such a size.
criteria
Type: OpenCvSharpTermCriteria
Criteria for termination of the iterative process of corner refinement. That is, the process of corner position refinement stops either after criteria.maxCount iterations or when the corner position moves by less than criteria.epsilon on some iteration.

Return Value

Type: Point2f

[Missing <returns> documentation for "M:OpenCvSharp.Mat.CornerSubPix(System.Collections.Generic.IEnumerable{OpenCvSharp.Point2f},OpenCvSharp.Size,OpenCvSharp.Size,OpenCvSharp.TermCriteria)"]

See Also