Method | Description | |
---|---|---|
Index ( InputArray features, OpenCvSharp.Flann.IndexParams @params, FlannDistance distType = FlannDistance.L2 ) : System |
Constructs a nearest neighbor search index for a given dataset.
|
|
KnnSearch ( Mat queries, Mat indices, Mat dists, int knn, OpenCvSharp.Flann.SearchParams @params ) : void |
Performs a K-nearest neighbor search for multiple query points.
|
|
KnnSearch ( Mat queries, int &indices, float &dists, int knn, OpenCvSharp.Flann.SearchParams @params ) : void |
Performs a K-nearest neighbor search for multiple query points.
|
|
KnnSearch ( float queries, int &indices, float &dists, int knn, OpenCvSharp.Flann.SearchParams @params ) : void |
Performs a K-nearest neighbor search for multiple query points.
|
|
RadiusSearch ( Mat queries, Mat indices, Mat dists, float radius, int maxResults, OpenCvSharp.Flann.SearchParams @params ) : void |
Performs a radius nearest neighbor search for a given query point.
|
|
RadiusSearch ( Mat queries, int indices, float dists, float radius, int maxResults, OpenCvSharp.Flann.SearchParams @params ) : void |
Performs a radius nearest neighbor search for a given query point.
|
|
RadiusSearch ( float queries, int indices, float dists, float radius, int maxResults, OpenCvSharp.Flann.SearchParams @params ) : void |
Performs a radius nearest neighbor search for a given query point.
|
|
Save ( string filename ) : void |
Saves the index to a file.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
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. /// |
return | void |
public Index ( InputArray features, OpenCvSharp.Flann.IndexParams @params, FlannDistance distType = FlannDistance.L2 ) : System | ||
features | InputArray | features – Matrix of type CV _ 32F containing the features(points) to index. The size of the matrix is num _ features x feature _ dimensionality. |
@params | OpenCvSharp.Flann.IndexParams | |
distType | FlannDistance | |
return | System |
public KnnSearch ( Mat queries, Mat indices, Mat dists, int knn, OpenCvSharp.Flann.SearchParams @params ) : void | ||
queries | Mat | The query points, one per row |
indices | Mat | Indices of the nearest neighbors found |
dists | Mat | Distances to the nearest neighbors found |
knn | int | Number of nearest neighbors to search for |
@params | OpenCvSharp.Flann.SearchParams | |
return | void |
public KnnSearch ( Mat queries, int &indices, float &dists, int knn, OpenCvSharp.Flann.SearchParams @params ) : void | ||
queries | Mat | The query points, one per row |
indices | int | Indices of the nearest neighbors found |
dists | float | Distances to the nearest neighbors found |
knn | int | Number of nearest neighbors to search for |
@params | OpenCvSharp.Flann.SearchParams | |
return | void |
public KnnSearch ( float queries, int &indices, float &dists, int knn, OpenCvSharp.Flann.SearchParams @params ) : void | ||
queries | float | The query points, one per row |
indices | int | Indices of the nearest neighbors found |
dists | float | Distances to the nearest neighbors found |
knn | int | Number of nearest neighbors to search for |
@params | OpenCvSharp.Flann.SearchParams | |
return | void |
public RadiusSearch ( Mat queries, Mat indices, Mat dists, float radius, int maxResults, OpenCvSharp.Flann.SearchParams @params ) : void | ||
queries | Mat | The query point |
indices | Mat | Indices of the nearest neighbors found |
dists | Mat | Distances to the nearest neighbors found |
radius | float | Number of nearest neighbors to search for |
maxResults | int | |
@params | OpenCvSharp.Flann.SearchParams | |
return | void |
public RadiusSearch ( Mat queries, int indices, float dists, float radius, int maxResults, OpenCvSharp.Flann.SearchParams @params ) : void | ||
queries | Mat | The query point |
indices | int | Indices of the nearest neighbors found |
dists | float | Distances to the nearest neighbors found |
radius | float | Number of nearest neighbors to search for |
maxResults | int | |
@params | OpenCvSharp.Flann.SearchParams | |
return | void |
public RadiusSearch ( float queries, int indices, float dists, float radius, int maxResults, OpenCvSharp.Flann.SearchParams @params ) : void | ||
queries | float | The query point |
indices | int | Indices of the nearest neighbors found |
dists | float | Distances to the nearest neighbors found |
radius | float | Number of nearest neighbors to search for |
maxResults | int | |
@params | OpenCvSharp.Flann.SearchParams | |
return | void |
public Save ( string filename ) : void | ||
filename | string | The file to save the index to |
return | void |