Method RadiusSearch
- Namespace
- OpenCvSharp.Flann
- Assembly
- OpenCvSharp.dll
RadiusSearch(float[], int[], float[], double, int, SearchParams)
Performs a radius nearest neighbor search for a given query point.
public void RadiusSearch(float[] queries, int[] indices, float[] dists, double radius, int maxResults, SearchParams @params)
Parameters
queriesfloat[]The query point
indicesint[]Output array of indices of the nearest neighbors found, overwritten in place.
distsfloat[]Output array of distances to the nearest neighbors found, overwritten in place.
radiusdoubleNumber of nearest neighbors to search for
maxResultsintparamsSearchParamsSearch parameters
RadiusSearch(Mat, Mat, Mat, double, int, SearchParams)
Performs a radius nearest neighbor search for a given query point.
public void RadiusSearch(Mat queries, Mat indices, Mat dists, double radius, int maxResults, SearchParams @params)
Parameters
queriesMatThe query point
indicesMatIndices of the nearest neighbors found
distsMatDistances to the nearest neighbors found
radiusdoubleNumber of nearest neighbors to search for
maxResultsintparamsSearchParamsSearch parameters
RadiusSearch(Mat, int[], float[], double, int, SearchParams)
Performs a radius nearest neighbor search for a given query point.
public void RadiusSearch(Mat queries, int[] indices, float[] dists, double radius, int maxResults, SearchParams @params)
Parameters
queriesMatThe query point
indicesint[]Output array of indices of the nearest neighbors found, overwritten in place.
distsfloat[]Output array of distances to the nearest neighbors found, overwritten in place.
radiusdoubleNumber of nearest neighbors to search for
maxResultsintparamsSearchParamsSearch parameters