Check termination criteria and transform it so that type=CriteriaType.Iteration | CriteriaType.Epsilon,
and both max_iter and epsilon are valid
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static CvTermCriteria CheckTermCriteria( CvTermCriteria criteria, double defaultEps, int defaultMaxIters )
Parameters
- criteria
- Type: OpenCvSharpCvTermCriteria
Termination criteria - defaultEps
- Type: SystemDouble
Default epsilon - defaultMaxIters
- Type: SystemInt32
Default maximum number of iteration
Return Value
Type: CvTermCriteria[Missing <returns> documentation for "M:OpenCvSharp.Cv.CheckTermCriteria(OpenCvSharp.CvTermCriteria,System.Double,System.Int32)"]
See Also