OpenCV for Unity 2.6.3
Enox Software / Please refer to OpenCV official document ( http://docs.opencv.org/4.10.0/index.html ) for the details of the argument of the method.
Loading...
Searching...
No Matches
OpenCVForUnity.CoreModule.TermCriteria Class Reference

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

Inheritance diagram for OpenCVForUnity.CoreModule.TermCriteria:

Public Member Functions

 TermCriteria (int type, int maxCount, double epsilon)
 
 TermCriteria ()
 
 TermCriteria (double[] vals)
 
void set (double[] vals)
 
TermCriteria clone ()
 
override int GetHashCode ()
 
override bool Equals (Object obj)
 
override string ToString ()
 
 TermCriteria (in Vec3d vals)
 
 TermCriteria (in(double type, double maxCount, double epsilon) vals)
 
void set (in Vec3d vals)
 
void set (in(double type, double maxCount, double epsilon) vals)
 
Vec3d cloneAsVec3d ()
 
double double double epsilon cloneAsValueTuple ()
 
double double double epsilon ToValueTuple ()
 
Vec3d ToVec3d ()
 
bool Equals (TermCriteria a)
 

Static Public Member Functions

static operator Vec3d (TermCriteria termCriteria)
 
static operator (double type, double maxCount, double epsilon)(TermCriteria termCriteria)
 
static operator TermCriteria (in(double type, double maxCount, double epsilon) valueTuple)
 
static bool operator== (TermCriteria a, TermCriteria b)
 
static bool operator!= (TermCriteria a, TermCriteria b)
 

Public Attributes

int type
 
int maxCount
 
double epsilon
 
double type
 
double double maxCount
 

Static Public Attributes

const int COUNT = 1
 
const int MAX_ITER = COUNT
 
const int EPS = 2
 

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.

C++: cv::TermCriteria Class Reference

See also
https://docs.opencv.org/4.10.0/d9/d5d/classcv_1_1TermCriteria.html

Constructor & Destructor Documentation

◆ TermCriteria() [1/5]

OpenCVForUnity.CoreModule.TermCriteria.TermCriteria ( int type,
int maxCount,
double epsilon )

Termination criteria for iterative algorithms.

Parameters
typethe type of termination criteria: COUNT, EPS or COUNT + EPS.
maxCountthe maximum number of iterations/elements.
epsilonthe desired accuracy.

◆ TermCriteria() [2/5]

OpenCVForUnity.CoreModule.TermCriteria.TermCriteria ( )

Termination criteria for iterative algorithms.

◆ TermCriteria() [3/5]

OpenCVForUnity.CoreModule.TermCriteria.TermCriteria ( double[] vals)

◆ TermCriteria() [4/5]

OpenCVForUnity.CoreModule.TermCriteria.TermCriteria ( in Vec3d vals)

Termination criteria for iterative algorithms.

Parameters
typethe type of termination criteria: COUNT, EPS or COUNT + EPS.
maxCountthe maximum number of iterations/elements.
epsilonthe desired accuracy.

◆ TermCriteria() [5/5]

OpenCVForUnity.CoreModule.TermCriteria.TermCriteria ( in(double type, double maxCount, double epsilon) vals)

Termination criteria for iterative algorithms.

Parameters
typethe type of termination criteria: COUNT, EPS or COUNT + EPS.
maxCountthe maximum number of iterations/elements.
epsilonthe desired accuracy.

Member Function Documentation

◆ clone()

TermCriteria OpenCVForUnity.CoreModule.TermCriteria.clone ( )

◆ cloneAsValueTuple()

double double double epsilon OpenCVForUnity.CoreModule.TermCriteria.cloneAsValueTuple ( )

◆ cloneAsVec3d()

Vec3d OpenCVForUnity.CoreModule.TermCriteria.cloneAsVec3d ( )

◆ Equals() [1/2]

override bool OpenCVForUnity.CoreModule.TermCriteria.Equals ( Object obj)

◆ Equals() [2/2]

bool OpenCVForUnity.CoreModule.TermCriteria.Equals ( TermCriteria a)

◆ GetHashCode()

override int OpenCVForUnity.CoreModule.TermCriteria.GetHashCode ( )

◆ operator()

static OpenCVForUnity.CoreModule.TermCriteria.operator ( double type,
double maxCount,
double epsilon )
explicitstatic

◆ operator TermCriteria()

static OpenCVForUnity.CoreModule.TermCriteria.operator TermCriteria ( in(double type, double maxCount, double epsilon) valueTuple)
explicitstatic

◆ operator Vec3d()

◆ operator!=()

static bool OpenCVForUnity.CoreModule.TermCriteria.operator!= ( TermCriteria a,
TermCriteria b )
static

◆ operator==()

◆ set() [1/3]

void OpenCVForUnity.CoreModule.TermCriteria.set ( double[] vals)

◆ set() [2/3]

void OpenCVForUnity.CoreModule.TermCriteria.set ( in Vec3d vals)

◆ set() [3/3]

void OpenCVForUnity.CoreModule.TermCriteria.set ( in(double type, double maxCount, double epsilon) vals)

◆ ToString()

override string OpenCVForUnity.CoreModule.TermCriteria.ToString ( )

◆ ToValueTuple()

double double double epsilon OpenCVForUnity.CoreModule.TermCriteria.ToValueTuple ( )

◆ ToVec3d()

Vec3d OpenCVForUnity.CoreModule.TermCriteria.ToVec3d ( )

Member Data Documentation

◆ COUNT

const int OpenCVForUnity.CoreModule.TermCriteria.COUNT = 1
static

The maximum number of iterations or elements to compute

◆ EPS

const int OpenCVForUnity.CoreModule.TermCriteria.EPS = 2
static

The desired accuracy threshold or change in parameters at which the iterative algorithm is terminated.

◆ epsilon

double OpenCVForUnity.CoreModule.TermCriteria.epsilon

the desired accuracy

◆ MAX_ITER

const int OpenCVForUnity.CoreModule.TermCriteria.MAX_ITER = COUNT
static

The maximum number of iterations or elements to compute

◆ maxCount [1/2]

double double OpenCVForUnity.CoreModule.TermCriteria.maxCount

the maximum number of iterations/elements

◆ maxCount [2/2]

double double OpenCVForUnity.CoreModule.TermCriteria.maxCount

◆ type [1/2]

double OpenCVForUnity.CoreModule.TermCriteria.type

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

◆ type [2/2]

double OpenCVForUnity.CoreModule.TermCriteria.type

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