Method | Description | |
---|---|---|
FeatureTree ( Matrix |
Create a k-d tree from the specific feature descriptors
|
|
FeatureTree ( Matrix |
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 |
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
|
Method | Description | |
---|---|---|
DisposeObject ( ) : void |
Release the unmanaged structure and all the memories associate with it.
|
|
ReleaseManagedResources ( ) : void |
Release the managed resource
|
public FeatureTree ( Matrix |
||
descriptorMatrix | Matrix |
The array of feature descriptors |
return | System |
public FeatureTree ( Matrix |
||
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 |
return | System |
public FeatureTree ( float descriptors ) : System | ||
descriptors | float | The array of feature descriptors |
return | System |
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 |
return | System |
public FindFeatures ( float descriptors, Matrix |
||
descriptors | float | The m feature descriptors to be searched from the feature tree |
results | Matrix |
/// The results of the best |
dist | Matrix |
/// A m x |
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 |
return | void |