C# Класс OpenCvSharp.BOWKMeansTrainer

Brute-force descriptor matcher. For each descriptor in the first set, this matcher finds the closest descriptor in the second set by trying each one.
Наследование: BOWTrainer
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Releases the resources

Описание методов

BOWKMeansTrainer() публичный Метод

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
Результат System

Cluster() публичный Метод

Clusters train descriptors.
public Cluster ( ) : OpenCvSharp.Mat
Результат OpenCvSharp.Mat

Cluster() публичный Метод

Clusters train descriptors.
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.
Результат OpenCvSharp.Mat

Dispose() защищенный Метод

Releases the resources
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. ///
Результат void