Struct TermCriteria
Represents a termination criteria for iterative algorithms.
Namespace: OpenCV.Net
Assembly: OpenCV.Net.dll
Syntax
public struct TermCriteria
Constructors
| Improve this Doc View SourceTermCriteria(TermCriteriaType, Int32, Double)
Initializes a new instance of the TermCriteria structure with the specified termination mode, maximum number of iterations and required accuracy.
Declaration
public TermCriteria(TermCriteriaType type, int maxIter, double epsilon)
Parameters
Type | Name | Description |
---|---|---|
TermCriteriaType | type | The particular combination of criteria to use. |
Int32 | maxIter | The maximum number of iterations. |
Double | epsilon | The minimum required accuracy. |
Fields
| Improve this Doc View SourceEpsilon
The minimum required accuracy.
Declaration
public double Epsilon
Field Value
Type | Description |
---|---|
Double |
MaxIter
The maximum number of iterations.
Declaration
public int MaxIter
Field Value
Type | Description |
---|---|
Int32 |
Type
Specifies the particular combination of criteria to use.
Declaration
public TermCriteriaType Type
Field Value
Type | Description |
---|---|
TermCriteriaType |