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
파일 보기 프로젝트 열기: shimat/opencvsharp

공개 메소드들

메소드 설명
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