|
OpenCV 2.4.2 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opencv.core.TermCriteria
public class TermCriteria
Template class defining termination criteria for iterative algorithms.
Field Summary | |
---|---|
static int |
COUNT
the maximum number of iterations or elements to compute |
static int |
EPS
the desired accuracy or change in parameters at which the iterative algorithm stops |
double |
epsilon
|
static int |
MAX_ITER
the maximum number of iterations or elements to compute |
int |
maxCount
|
int |
type
|
Constructor Summary | |
---|---|
TermCriteria()
Termination criteria in iterative algorithms |
|
TermCriteria(double[] vals)
|
|
TermCriteria(int type,
int maxCount,
double epsilon)
Termination criteria in iterative algorithms |
Method Summary | |
---|---|
TermCriteria |
clone()
|
boolean |
equals(java.lang.Object obj)
|
int |
hashCode()
|
void |
set(double[] vals)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int COUNT
public static final int EPS
public double epsilon
public static final int MAX_ITER
public int maxCount
public int type
Constructor Detail |
---|
public TermCriteria()
public TermCriteria(double[] vals)
public TermCriteria(int type, int maxCount, double epsilon)
type
- the type of termination criteria: COUNT, EPS or COUNT + EPSmaxCount
- the maximum number of iterations/elementsepsilon
- the desired accuracyMethod Detail |
---|
public TermCriteria clone()
clone
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void set(double[] vals)
public java.lang.String toString()
toString
in class java.lang.Object
|
Official OpenCV 2.4 Documentation | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |