OpenCV  2.4.13
Open Source Computer Vision
cv::TermCriteria Class Reference

#include <core.hpp>

Public Types

enum  { COUNT =1, MAX_ITER =COUNT, EPS =2 }
 

Public Member Functions

 TermCriteria ()
 default constructor More...
 
 TermCriteria (int type, int maxCount, double epsilon)
 full constructor More...
 
 TermCriteria (const CvTermCriteria &criteria)
 conversion from CvTermCriteria More...
 
 operator CvTermCriteria () const
 conversion to CvTermCriteria More...
 

Public Attributes

int type
 the type of termination criteria: COUNT, EPS or COUNT + EPS More...
 
int maxCount
 
double epsilon
 

Detailed Description

Termination criteria in iterative algorithms

Member Enumeration Documentation

anonymous enum
Enumerator
COUNT 

the maximum number of iterations or elements to compute

MAX_ITER 

ditto

EPS 

the desired accuracy or change in parameters at which the iterative algorithm stops

Constructor & Destructor Documentation

cv::TermCriteria::TermCriteria ( )
inline

default constructor

cv::TermCriteria::TermCriteria ( int  type,
int  maxCount,
double  epsilon 
)
inline

full constructor

cv::TermCriteria::TermCriteria ( const CvTermCriteria criteria)
inline

conversion from CvTermCriteria

Member Function Documentation

cv::TermCriteria::operator CvTermCriteria ( ) const
inline

conversion to CvTermCriteria

Member Data Documentation

double cv::TermCriteria::epsilon
int cv::TermCriteria::maxCount
int cv::TermCriteria::type

the type of termination criteria: COUNT, EPS or COUNT + EPS


The documentation for this class was generated from the following files: