Method | Description | |
---|---|---|
BOWKMeansTrainer ( int clusterCount, OpenCvSharp.TermCriteria termcrit = null, int attempts = 3, KMeansFlags flags = KMeansFlags.PpCenters ) : System |
|
|
Cluster ( ) : OpenCvSharp.Mat |
Clusters train descriptors.
|
|
Cluster ( OpenCvSharp.Mat descriptors ) : OpenCvSharp.Mat |
Clusters train descriptors.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Releases the resources
|
public BOWKMeansTrainer ( int clusterCount, OpenCvSharp.TermCriteria termcrit = null, int attempts = 3, KMeansFlags flags = KMeansFlags.PpCenters ) : System | ||
clusterCount | int | |
termcrit | OpenCvSharp.TermCriteria | |
attempts | int | |
flags | KMeansFlags | |
return | System |
public Cluster ( OpenCvSharp.Mat descriptors ) : OpenCvSharp.Mat | ||
descriptors | OpenCvSharp.Mat | 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. |
return | OpenCvSharp.Mat |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | /// If disposing equals true, the method has been called directly or indirectly by a user's code. Managed and unmanaged resources can be disposed. /// If false, the method has been called by the runtime from inside the finalizer and you should not reference other objects. Only unmanaged resources can be disposed. /// |
return | void |