OpenCV for Unity 2.6.4
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.
|
kmeans -based class to train visual vocabulary using the bag of visual words approach. : More...
Public Member Functions | |
BOWKMeansTrainer (int clusterCount) | |
The constructor. | |
BOWKMeansTrainer (int clusterCount, in Vec3d termcrit) | |
The constructor. | |
BOWKMeansTrainer (int clusterCount, in Vec3d termcrit, int attempts) | |
The constructor. | |
BOWKMeansTrainer (int clusterCount, in Vec3d termcrit, int attempts, int flags) | |
The constructor. | |
BOWKMeansTrainer (int clusterCount, in(double type, double maxCount, double epsilon) termcrit) | |
The constructor. | |
BOWKMeansTrainer (int clusterCount, in(double type, double maxCount, double epsilon) termcrit, int attempts) | |
The constructor. | |
BOWKMeansTrainer (int clusterCount, in(double type, double maxCount, double epsilon) termcrit, int attempts, int flags) | |
The constructor. | |
BOWKMeansTrainer (int clusterCount, TermCriteria termcrit) | |
The constructor. | |
BOWKMeansTrainer (int clusterCount, TermCriteria termcrit, int attempts) | |
The constructor. | |
BOWKMeansTrainer (int clusterCount, TermCriteria termcrit, int attempts, int flags) | |
The constructor. | |
override Mat | cluster () |
override Mat | cluster (Mat descriptors) |
Clusters train descriptors. | |
Public Member Functions inherited from OpenCVForUnity.Features2dModule.BOWTrainer | |
void | add (Mat descriptors) |
Adds descriptors to a training set. | |
void | clear () |
int | descriptorsCount () |
Returns the count of all descriptors stored in the training set. | |
List< Mat > | getDescriptors () |
Returns a training set of descriptors. | |
IntPtr | getNativeObjAddr () |
Public Member Functions inherited from OpenCVForUnity.DisposableObject | |
void | Dispose () |
void | ThrowIfDisposed () |
Static Public Member Functions | |
static new BOWKMeansTrainer | __fromPtr__ (IntPtr addr) |
Static Public Member Functions inherited from OpenCVForUnity.Features2dModule.BOWTrainer | |
static BOWTrainer | __fromPtr__ (IntPtr addr) |
Static Public Member Functions inherited from OpenCVForUnity.DisposableObject | |
static IntPtr | ThrowIfNullIntPtr (IntPtr ptr) |
Protected Member Functions | |
override void | Dispose (bool disposing) |
Protected Member Functions inherited from OpenCVForUnity.Features2dModule.BOWTrainer | |
override void | Dispose (bool disposing) |
Protected Member Functions inherited from OpenCVForUnity.DisposableOpenCVObject | |
DisposableOpenCVObject () | |
DisposableOpenCVObject (bool isEnabledDispose) | |
DisposableOpenCVObject (IntPtr ptr) | |
DisposableOpenCVObject (IntPtr ptr, bool isEnabledDispose) | |
override void | Dispose (bool disposing) |
Protected Member Functions inherited from OpenCVForUnity.DisposableObject | |
DisposableObject () | |
DisposableObject (bool isEnabledDispose) | |
Additional Inherited Members | |
Package Functions inherited from OpenCVForUnity.Features2dModule.BOWTrainer | |
Package Attributes inherited from OpenCVForUnity.DisposableOpenCVObject | |
Properties inherited from OpenCVForUnity.DisposableObject | |
bool | IsDisposed [get, protected set] |
bool | IsEnabledDispose [get, set] |
kmeans -based class to train visual vocabulary using the bag of visual words approach. :
OpenCVForUnity.Features2dModule.BOWKMeansTrainer.BOWKMeansTrainer | ( | int | clusterCount, |
TermCriteria | termcrit, | ||
int | attempts, | ||
int | flags ) |
The constructor.
OpenCVForUnity.Features2dModule.BOWKMeansTrainer.BOWKMeansTrainer | ( | int | clusterCount, |
TermCriteria | termcrit, | ||
int | attempts ) |
The constructor.
OpenCVForUnity.Features2dModule.BOWKMeansTrainer.BOWKMeansTrainer | ( | int | clusterCount, |
TermCriteria | termcrit ) |
The constructor.
OpenCVForUnity.Features2dModule.BOWKMeansTrainer.BOWKMeansTrainer | ( | int | clusterCount | ) |
The constructor.
OpenCVForUnity.Features2dModule.BOWKMeansTrainer.BOWKMeansTrainer | ( | int | clusterCount, |
in Vec3d | termcrit, | ||
int | attempts, | ||
int | flags ) |
The constructor.
OpenCVForUnity.Features2dModule.BOWKMeansTrainer.BOWKMeansTrainer | ( | int | clusterCount, |
in Vec3d | termcrit, | ||
int | attempts ) |
The constructor.
OpenCVForUnity.Features2dModule.BOWKMeansTrainer.BOWKMeansTrainer | ( | int | clusterCount, |
in Vec3d | termcrit ) |
The constructor.
OpenCVForUnity.Features2dModule.BOWKMeansTrainer.BOWKMeansTrainer | ( | int | clusterCount, |
in(double type, double maxCount, double epsilon) | termcrit, | ||
int | attempts, | ||
int | flags ) |
The constructor.
OpenCVForUnity.Features2dModule.BOWKMeansTrainer.BOWKMeansTrainer | ( | int | clusterCount, |
in(double type, double maxCount, double epsilon) | termcrit, | ||
int | attempts ) |
The constructor.
OpenCVForUnity.Features2dModule.BOWKMeansTrainer.BOWKMeansTrainer | ( | int | clusterCount, |
in(double type, double maxCount, double epsilon) | termcrit ) |
The constructor.
|
static |
|
virtual |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Reimplemented from OpenCVForUnity.Features2dModule.BOWTrainer.
Clusters train descriptors.
descriptors | Descriptors to cluster. Each row of the descriptors matrix is a descriptor. Descriptors are not added to the inner train descriptor set. |
The vocabulary consists of cluster centers. So, this method returns the vocabulary. In the first variant of the method, train descriptors stored in the object are clustered. In the second variant, input descriptors are clustered.
Reimplemented from OpenCVForUnity.Features2dModule.BOWTrainer.
|
protectedvirtual |
Reimplemented from OpenCVForUnity.DisposableObject.