Opencv 3.1 project on GR-PEACH board

Fork of gr-peach-opencv-project by the do

Embed: (wiki syntax)

« Back to documentation index

TermCriteria Class Reference

The class defining termination criteria for iterative algorithms. More...

#include <types.hpp>

Public Types

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

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

More...

Public Member Functions

 TermCriteria ()
 default constructor
 TermCriteria (int type, int maxCount, double epsilon)

Data Fields

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

Detailed Description

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.

Definition at line 771 of file types.hpp.


Member Enumeration Documentation

enum Type

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

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

Definition at line 777 of file types.hpp.


Constructor & Destructor Documentation

TermCriteria (  )

default constructor

TermCriteria ( int  type,
int  maxCount,
double  epsilon 
)
Parameters:
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.

Field Documentation

int type

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

Definition at line 793 of file types.hpp.