Package org.opencv.core
Class TermCriteria
java.lang.Object
org.opencv.core.TermCriteria
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The maximum number of iterations or elements to computestatic final int
The desired accuracy threshold or change in parameters at which the iterative algorithm is terminated.double
static final int
The maximum number of iterations or elements to computeint
int
-
Constructor Summary
ConstructorsConstructorDescriptionTermination criteria for iterative algorithms.TermCriteria
(double[] vals) TermCriteria
(int type, int maxCount, double epsilon) Termination criteria for iterative algorithms. -
Method Summary
-
Field Details
-
COUNT
public static final int COUNTThe maximum number of iterations or elements to compute- See Also:
-
MAX_ITER
public static final int MAX_ITERThe maximum number of iterations or elements to compute- See Also:
-
EPS
public static final int EPSThe desired accuracy threshold or change in parameters at which the iterative algorithm is terminated.- See Also:
-
type
public int type -
maxCount
public int maxCount -
epsilon
public double epsilon
-
-
Constructor Details
-
TermCriteria
public TermCriteria(int type, int maxCount, double epsilon) 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
public TermCriteria(double[] vals)
-
-
Method Details