C# 클래스 Emgu.CV.FeatureTree

A wrapper for CvFeatureTree
상속: Emgu.Util.UnmanagedObject
파일 보기 프로젝트 열기: fajoy/RTSPExample 1 사용 예제들

공개 메소드들

메소드 설명
FeatureTree ( Matrix descriptorMatrix ) : System

Create a k-d tree from the specific feature descriptors

FeatureTree ( Matrix descriptors, int naive, double rho, double tau ) : System

Create a spill tree from the specific feature descriptors

FeatureTree ( float descriptors ) : System

Create a k-d tree from the specific feature descriptors

FeatureTree ( float descriptors, int naive, double rho, double tau ) : System

Create a spill tree from the specific feature descriptors

FindFeatures ( float descriptors, Matrix &results, Matrix &dist, int k, int emax ) : void

Finds (with high probability) the k nearest neighbors in tr for each of the given (row-)vectors in desc, using best-bin-first searching ([Beis97]). The complexity of the entire operation is at most O(m*emax*log2(n)), where n is the number of vectors in the tree

보호된 메소드들

메소드 설명
DisposeObject ( ) : void

Release the unmanaged structure and all the memories associate with it.

ReleaseManagedResources ( ) : void

Release the managed resource

메소드 상세

DisposeObject() 보호된 메소드

Release the unmanaged structure and all the memories associate with it.
protected DisposeObject ( ) : void
리턴 void

FeatureTree() 공개 메소드

Create a k-d tree from the specific feature descriptors
public FeatureTree ( Matrix descriptorMatrix ) : System
descriptorMatrix Matrix The array of feature descriptors
리턴 System

FeatureTree() 공개 메소드

Create a spill tree from the specific feature descriptors
public FeatureTree ( Matrix descriptors, int naive, double rho, double tau ) : System
descriptors Matrix The array of feature descriptors
naive int A good value is 50
rho double A good value is .7
tau double A good value is .1
리턴 System

FeatureTree() 공개 메소드

Create a k-d tree from the specific feature descriptors
public FeatureTree ( float descriptors ) : System
descriptors float The array of feature descriptors
리턴 System

FeatureTree() 공개 메소드

Create a spill tree from the specific feature descriptors
public FeatureTree ( float descriptors, int naive, double rho, double tau ) : System
descriptors float The array of feature descriptors
naive int A good value is 50
rho double A good value is .7
tau double A good value is .1
리턴 System

FindFeatures() 공개 메소드

Finds (with high probability) the k nearest neighbors in tr for each of the given (row-)vectors in desc, using best-bin-first searching ([Beis97]). The complexity of the entire operation is at most O(m*emax*log2(n)), where n is the number of vectors in the tree
public FindFeatures ( float descriptors, Matrix &results, Matrix &dist, int k, int emax ) : void
descriptors float The m feature descriptors to be searched from the feature tree
results Matrix /// The results of the best matched from the feature tree. A m x matrix. Contains -1 in some columns if fewer than k neighbors found. /// For each row the k neareast neighbors are not sorted. To findout the closet neighbour, look at the output matrix . ///
dist Matrix /// A m x Matrix of the distances to k nearest neighbors ///
k int The number of neighbors to find
emax int For k-d tree only: the maximum number of leaves to visit. Use 20 if not sure
리턴 void

ReleaseManagedResources() 보호된 메소드

Release the managed resource
protected ReleaseManagedResources ( ) : void
리턴 void