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

struct ECCParameters is used by findTransformECCMultiScale More...

Public Member Functions

 ECCParameters ()
 
TermCriteria get_criteria ()
 
double double double epsilon get_criteriaAsValueTuple ()
 
Vec3d get_criteriaAsVec3d ()
 
int get_gaussFiltSize ()
 
int get_interpolation ()
 
MatOfInt get_itersPerLevel ()
 
int get_motionType ()
 
int get_nlevels ()
 
IntPtr getNativeObjAddr ()
 
void set_criteria (in Vec3d criteria)
 
void set_criteria (in(double type, double maxCount, double epsilon) criteria)
 
void set_criteria (TermCriteria criteria)
 
void set_gaussFiltSize (int gaussFiltSize)
 
void set_interpolation (int interpolation)
 
void set_itersPerLevel (MatOfInt itersPerLevel)
 
void set_motionType (int motionType)
 
void set_nlevels (int nlevels)
 
- Public Member Functions inherited from OpenCVForUnity.DisposableObject
void Dispose ()
 Releases resources used by this object.
 
void ThrowIfDisposed ()
 Throws ObjectDisposedException if this object has been disposed.
 

Static Public Member Functions

static ECCParameters __fromPtr__ (IntPtr addr)
 
- Static Public Member Functions inherited from OpenCVForUnity.DisposableObject
static IntPtr ThrowIfNullIntPtr (IntPtr ptr)
 Returns the native pointer, or throws CoreModule.CvException if it is zero.
 

Public Attributes

double double maxCount
 
double type
 

Protected Member Functions

override void Dispose (bool disposing)
 
- Protected Member Functions inherited from OpenCVForUnity.DisposableOpenCVObject
 DisposableOpenCVObject ()
 Initializes a new instance with a zero native pointer and dispose enabled.
 
 DisposableOpenCVObject (bool isEnabledDispose)
 Initializes a new instance with a zero native pointer.
 
 DisposableOpenCVObject (IntPtr ptr)
 Initializes a new instance with the specified native pointer and dispose enabled.
 
 DisposableOpenCVObject (IntPtr ptr, bool isEnabledDispose)
 Initializes a new instance with the specified native pointer.
 
- Protected Member Functions inherited from OpenCVForUnity.DisposableObject
 DisposableObject ()
 Initializes a new instance with dispose enabled.
 
 DisposableObject (bool isEnabledDispose)
 Initializes a new instance.
 

Additional Inherited Members

- Package Attributes inherited from OpenCVForUnity.DisposableOpenCVObject
- Properties inherited from OpenCVForUnity.DisposableObject
bool IsDisposed [get, protected set]
 
bool IsEnabledDispose [get, set]
 

Detailed Description

struct ECCParameters is used by findTransformECCMultiScale

Parameters
motionTypeparameter, specifying the type of motion:
  • MOTION_TRANSLATION sets a translational motion model; warpMatrix is \($2\times 3\)$ with the first \($2\times 2\)$ part being the unity matrix and the rest two parameters being estimated.
  • MOTION_EUCLIDEAN sets a Euclidean (rigid) transformation as motion model; three parameters are estimated; warpMatrix is \($2\times 3\)$.
  • MOTION_AFFINE sets an affine motion model (DEFAULT); six parameters are estimated; warpMatrix is \($2\times 3\)$.
  • MOTION_HOMOGRAPHY sets a homography as a motion model; eight parameters are estimated;`warpMatrix` is \($3\times 3\)$.
criteriaparameter, specifying the termination criteria of the ECC algorithm; criteria.epsilon defines the threshold of the increment in the correlation coefficient between two iterations (a negative criteria.epsilon makes criteria.maxcount the only termination criterion). Default values are shown in the declaration above.
itersPerLevelCriterion extension: distribution of iterations limit over pyramid levels. Can be empty, in this case, this algorithm will use criteria.maxCount on each level.
gaussFiltSizeAn optional value indicating size of gaussian blur filter; (DEFAULT: 5)
nlevelsAn optional value indicating amount of levels in the pyramid; (DEFAULT: 4)
interpolationType of warp interpolation. Possible values are INTER_NEAREST and INTER_LINEAR. Affects accuracy, especially when motionType == MOTION_TRANSLATION. (DEFAULT: INTER_LINEAR)

Constructor & Destructor Documentation

◆ ECCParameters()

OpenCVForUnity.VideoModule.ECCParameters.ECCParameters ( )

Member Function Documentation

◆ __fromPtr__()

static ECCParameters OpenCVForUnity.VideoModule.ECCParameters.__fromPtr__ ( IntPtr addr)
static

◆ Dispose()

override void OpenCVForUnity.VideoModule.ECCParameters.Dispose ( bool disposing)
protectedvirtual

◆ get_criteria()

TermCriteria OpenCVForUnity.VideoModule.ECCParameters.get_criteria ( )

◆ get_criteriaAsValueTuple()

double double double epsilon OpenCVForUnity.VideoModule.ECCParameters.get_criteriaAsValueTuple ( )

◆ get_criteriaAsVec3d()

Vec3d OpenCVForUnity.VideoModule.ECCParameters.get_criteriaAsVec3d ( )

◆ get_gaussFiltSize()

int OpenCVForUnity.VideoModule.ECCParameters.get_gaussFiltSize ( )

◆ get_interpolation()

int OpenCVForUnity.VideoModule.ECCParameters.get_interpolation ( )

◆ get_itersPerLevel()

MatOfInt OpenCVForUnity.VideoModule.ECCParameters.get_itersPerLevel ( )

◆ get_motionType()

int OpenCVForUnity.VideoModule.ECCParameters.get_motionType ( )

◆ get_nlevels()

int OpenCVForUnity.VideoModule.ECCParameters.get_nlevels ( )

◆ getNativeObjAddr()

IntPtr OpenCVForUnity.VideoModule.ECCParameters.getNativeObjAddr ( )

◆ set_criteria() [1/3]

void OpenCVForUnity.VideoModule.ECCParameters.set_criteria ( in Vec3d criteria)

◆ set_criteria() [2/3]

void OpenCVForUnity.VideoModule.ECCParameters.set_criteria ( in(double type, double maxCount, double epsilon) criteria)

◆ set_criteria() [3/3]

void OpenCVForUnity.VideoModule.ECCParameters.set_criteria ( TermCriteria criteria)

◆ set_gaussFiltSize()

void OpenCVForUnity.VideoModule.ECCParameters.set_gaussFiltSize ( int gaussFiltSize)

◆ set_interpolation()

void OpenCVForUnity.VideoModule.ECCParameters.set_interpolation ( int interpolation)

◆ set_itersPerLevel()

void OpenCVForUnity.VideoModule.ECCParameters.set_itersPerLevel ( MatOfInt itersPerLevel)

◆ set_motionType()

void OpenCVForUnity.VideoModule.ECCParameters.set_motionType ( int motionType)

◆ set_nlevels()

void OpenCVForUnity.VideoModule.ECCParameters.set_nlevels ( int nlevels)

Member Data Documentation

◆ maxCount

double double OpenCVForUnity.VideoModule.ECCParameters.maxCount

◆ type

double OpenCVForUnity.VideoModule.ECCParameters.type

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