OpenCV for Unity
2.6.0
Enox Software / Please refer to OpenCV official document ( http://docs.opencv.org/4.9.0/index.html ) for the details of the argument of the method.
|
Public Member Functions | |
TermCriteria (int type, int maxCount, double epsilon) | |
TermCriteria () | |
TermCriteria (double[] vals) | |
void | set (double[] vals) |
TermCriteria | clone () |
override int | GetHashCode () |
override bool | Equals (Object obj) |
override string | ToString () |
Public Attributes | |
const int | COUNT = 1 |
const int | MAX_ITER = COUNT |
const int | EPS = 2 |
int | type |
int | maxCount |
double | epsilon |
class CV_EXPORTS TermCriteria
// C++ code:
public:
enum
COUNT=1, //!< the maximum number of iterations or elements to compute
MAX_ITER=COUNT, //!< ditto
EPS=2 //!< the desired accuracy or change in parameters at which the iterative algorithm stops
};
//! default constructor
//! full constructor
TermCriteria(int type, int maxCount, double epsilon);
//! conversion from CvTermCriteria
TermCriteria(const CvTermCriteria& criteria);
//! conversion to CvTermCriteria
operator CvTermCriteria() const;
int type; //!< the type of termination criteria: COUNT, EPS or COUNT + EPS
int maxCount; // the maximum number of iterations/elements
double epsilon; // the desired accuracy
};
The class defining termination criteria for iterative algorithms. You can initialize it by default constructor and then override any parameters, or the structure may be fully initialized using the advanced variant of the constructor.
OpenCVForUnity.CoreModule.TermCriteria.TermCriteria | ( | int | type, |
int | maxCount, | ||
double | epsilon | ||
) |
Termination criteria for iterative algorithms.
type | the type of termination criteria: COUNT, EPS or COUNT + EPS. |
maxCount | the maximum number of iterations/elements. |
epsilon | the desired accuracy. |
OpenCVForUnity.CoreModule.TermCriteria.TermCriteria | ( | ) |
Termination criteria for iterative algorithms.
OpenCVForUnity.CoreModule.TermCriteria.TermCriteria | ( | double [] | vals | ) |
TermCriteria OpenCVForUnity.CoreModule.TermCriteria.clone | ( | ) |
override bool OpenCVForUnity.CoreModule.TermCriteria.Equals | ( | Object | obj | ) |
override int OpenCVForUnity.CoreModule.TermCriteria.GetHashCode | ( | ) |
void OpenCVForUnity.CoreModule.TermCriteria.set | ( | double [] | vals | ) |
override string OpenCVForUnity.CoreModule.TermCriteria.ToString | ( | ) |
const int OpenCVForUnity.CoreModule.TermCriteria.COUNT = 1 |
The maximum number of iterations or elements to compute
const int OpenCVForUnity.CoreModule.TermCriteria.EPS = 2 |
The desired accuracy threshold or change in parameters at which the iterative algorithm is terminated.
double OpenCVForUnity.CoreModule.TermCriteria.epsilon |
const int OpenCVForUnity.CoreModule.TermCriteria.MAX_ITER = COUNT |
The maximum number of iterations or elements to compute
int OpenCVForUnity.CoreModule.TermCriteria.maxCount |
int OpenCVForUnity.CoreModule.TermCriteria.type |