public class TermCriteria
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
COUNT
The maximum number of iterations or elements to compute
|
static 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 compute
|
int |
maxCount |
int |
type |
Constructor and Description |
---|
TermCriteria()
Termination criteria for iterative algorithms.
|
TermCriteria(double[] vals) |
TermCriteria(int type,
int maxCount,
double epsilon)
Termination criteria for iterative algorithms.
|
Modifier and Type | Method and Description |
---|---|
TermCriteria |
clone() |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
void |
set(double[] vals) |
java.lang.String |
toString() |
public static final int COUNT
public static final int MAX_ITER
public static final int EPS
public int type
public int maxCount
public double epsilon
public TermCriteria(int type, int maxCount, double epsilon)
type
- the type of termination criteria: COUNT, EPS or COUNT + EPS.maxCount
- the maximum number of iterations/elements.epsilon
- the desired accuracy.public TermCriteria()
public TermCriteria(double[] vals)
public void set(double[] vals)
public TermCriteria clone()
clone
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Generated on Wed Jul 4 2018 14:01:58 UTC / OpenCV 3.4.2