C# Класс Emgu.CV.FeatureTree

A wrapper for CvFeatureTree
Наследование: Emgu.Util.UnmanagedObject
Показать файл Открыть проект Примеры использования класса

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

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