Package org.opencv.core
Class TermCriteria
java.lang.Object
org.opencv.core.TermCriteria
public class TermCriteria extends Object
-
Field Summary
Fields Modifier and Type Field Description static int
COUNT
The maximum number of iterations or elements to computestatic int
EPS
The desired accuracy threshold or change in parameters at which the iterative algorithm is terminated.double
epsilon
static int
MAX_ITER
The maximum number of iterations or elements to computeint
maxCount
int
type
-
Constructor Summary
Constructors Constructor Description TermCriteria()
Termination criteria for iterative algorithms.TermCriteria(double[] vals)
TermCriteria(int type, int maxCount, double epsilon)
Termination criteria for iterative algorithms. -
Method Summary
-
Field Details
-
COUNT
The maximum number of iterations or elements to compute- See Also:
- Constant Field Values
-
MAX_ITER
The maximum number of iterations or elements to compute- See Also:
- Constant Field Values
-
EPS
The desired accuracy threshold or change in parameters at which the iterative algorithm is terminated.- See Also:
- Constant Field Values
-
type
-
maxCount
-
epsilon
-
-
Constructor Details
-
TermCriteria
Termination criteria for iterative algorithms.- Parameters:
type
- the type of termination criteria: COUNT, EPS or COUNT + EPS.maxCount
- the maximum number of iterations/elements.epsilon
- the desired accuracy.
-
TermCriteria
public TermCriteria()Termination criteria for iterative algorithms. -
TermCriteria
-
-
Method Details