OpenCV  2.4.13.4
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

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

§ TermCriteria() [1/3]

cv::TermCriteria::TermCriteria ( )
inline

default constructor

§ TermCriteria() [2/3]

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

full constructor

§ TermCriteria() [3/3]

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

conversion from CvTermCriteria

Member Function Documentation

§ operator CvTermCriteria()

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

conversion to CvTermCriteria

Member Data Documentation

§ epsilon

double cv::TermCriteria::epsilon

§ maxCount

int cv::TermCriteria::maxCount

§ type

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: