OpenCV453
公開型 | 公開メンバ関数 | 公開変数類 | 全メンバ一覧
cv::TermCriteria クラス

The class defining termination criteria for iterative algorithms. [詳解]

#include <types.hpp>

公開型

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

公開メンバ関数

 TermCriteria ()
 default constructor
 
 TermCriteria (int type, int maxCount, double epsilon)
 
bool isValid () 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.

列挙型メンバ詳解

◆ Type

Criteria type, can be one of: COUNT, EPS or COUNT + EPS

列挙値
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

構築子と解体子

◆ TermCriteria()

cv::TermCriteria::TermCriteria ( int  type,
int  maxCount,
double  epsilon 
)
引数
typeThe type of termination criteria, one of TermCriteria::Type
maxCountThe maximum number of iterations or elements to compute.
epsilonThe desired accuracy or change in parameters at which the iterative algorithm stops.

このクラス詳解は次のファイルから抽出されました: