Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of gr-peach-opencv-project-sd-card by
TermCriteria Class Reference
[Basic structures]
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 |
Constructor & Destructor Documentation
TermCriteria | ( | ) |
default constructor
TermCriteria | ( | int | type, |
int | maxCount, | ||
double | epsilon | ||
) |
- Parameters:
-
type The type of termination criteria, one of TermCriteria::Type maxCount The maximum number of iterations or elements to compute. epsilon The desired accuracy or change in parameters at which the iterative algorithm stops.
Field Documentation
Generated on Tue Jul 12 2022 14:48:01 by
