CvFindCornerSubPix Method OpenCvSharp Class Library
Iterates to find the sub-pixel accurate location of corners, or radial saddle points.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static void FindCornerSubPix(
	CvArr image,
	CvPoint2D32f[] corners,
	int count,
	CvSize win,
	CvSize zeroZone,
	CvTermCriteria criteria
)

Parameters

image
Type: OpenCvSharpCvArr
Input image.
corners
Type: OpenCvSharpCvPoint2D32f
Initial coordinates of the input corners and refined coordinates on output.
count
Type: SystemInt32
Number of corners.
win
Type: OpenCvSharpCvSize
Half sizes of the search window.
zeroZone
Type: OpenCvSharpCvSize
Half size of the dead region in the middle of the search zone over which the summation in formulae 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 size.
criteria
Type: OpenCvSharpCvTermCriteria
Criteria for termination of the iterative process of corner refinement. That is, the process of corner position refinement stops either after certain number of iteration or when a required accuracy is achieved. The criteria may specify either of or both the maximum number of iteration and the required accuracy.
See Also

Reference