CvInvokeCornerSubPix Method |
http://www.emgu.com
Iterates to find the sub-pixel accurate location of corners, or radial saddle points
Namespace: Emgu.CVAssembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.2.0.2682 (3.2.0.2682)
Syntax public static void CornerSubPix(
IInputArray image,
IInputOutputArray corners,
Size win,
Size zeroZone,
MCvTermCriteria criteria
)
Public Shared Sub CornerSubPix (
image As IInputArray,
corners As IInputOutputArray,
win As Size,
zeroZone As Size,
criteria As MCvTermCriteria
)
public:
static void CornerSubPix(
IInputArray^ image,
IInputOutputArray^ corners,
Size win,
Size zeroZone,
MCvTermCriteria criteria
)
static member CornerSubPix :
image : IInputArray *
corners : IInputOutputArray *
win : Size *
zeroZone : Size *
criteria : MCvTermCriteria -> unit
Parameters
- image
- Type: Emgu.CVIInputArray
Input image - corners
- Type: Emgu.CVIInputOutputArray
Initial coordinates of the input corners and refined coordinates on output - win
- Type: System.DrawingSize
Half sizes of the search window. For example, if win=(5,5) then 5*2+1 x 5*2+1 = 11 x 11 search window is used - zeroZone
- Type: System.DrawingSize
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: Emgu.CV.StructureMCvTermCriteria
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