C# Class OpenCvSharp.BOWTrainer

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.
Inheritance: OpenCvSharp.DisposableCvObject
Afficher le fichier Open project: shimat/opencvsharp

Méthodes publiques

Méthode Description
Add ( OpenCvSharp.Mat descriptors ) : void

Adds descriptors to a training set.

Clear ( ) : void

Cluster ( ) : OpenCvSharp.Mat

Clusters train descriptors.

Cluster ( OpenCvSharp.Mat descriptors ) : OpenCvSharp.Mat

Clusters train descriptors.

DescriptorsCount ( ) : int

Returns the count of all descriptors stored in the training set.

GetDescriptors ( ) : OpenCvSharp.Mat[]

Returns a training set of descriptors.

Method Details

Add() public méthode

Adds descriptors to a training set.
public Add ( OpenCvSharp.Mat descriptors ) : void
descriptors OpenCvSharp.Mat descriptors Descriptors to add to a training set. Each row of the descriptors matrix is a descriptor. /// The training set is clustered using clustermethod to construct the vocabulary.
Résultat void

Clear() public méthode

public Clear ( ) : void
Résultat void

Cluster() public abstract méthode

Clusters train descriptors.
public abstract Cluster ( ) : OpenCvSharp.Mat
Résultat OpenCvSharp.Mat

Cluster() public abstract méthode

Clusters train descriptors.
public abstract 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.
Résultat OpenCvSharp.Mat

DescriptorsCount() public méthode

Returns the count of all descriptors stored in the training set.
public DescriptorsCount ( ) : int
Résultat int

GetDescriptors() public méthode

Returns a training set of descriptors.
public GetDescriptors ( ) : OpenCvSharp.Mat[]
Résultat OpenCvSharp.Mat[]