http://www.emgu.com
Performs a radius nearest neighbor search for multiple query points
Namespace: Emgu.CV.FlannAssembly: Emgu.CV (in Emgu.CV.dll) Version: 3.0.0.2161 (3.0.0.2161)
Syntaxpublic int RadiusSearch(
IInputArray queries,
IOutputArray indices,
IOutputArray squareDistances,
float radius,
int maxResults,
int checks
)
Public Function RadiusSearch (
queries As IInputArray,
indices As IOutputArray,
squareDistances As IOutputArray,
radius As Single,
maxResults As Integer,
checks As Integer
) As Integer
public:
int RadiusSearch(
IInputArray^ queries,
IOutputArray^ indices,
IOutputArray^ squareDistances,
float radius,
int maxResults,
int checks
)
member RadiusSearch :
queries : IInputArray *
indices : IOutputArray *
squareDistances : IOutputArray *
radius : float32 *
maxResults : int *
checks : int -> int
Parameters
- queries
- Type: Emgu.CVIInputArray
The query points, one per row - indices
- Type: Emgu.CVIOutputArray
Indices of the nearest neighbors found - squareDistances
- Type: Emgu.CVIOutputArray
The square of the Eculidean distance between the neighbours - radius
- Type: SystemSingle
The search radius - maxResults
- Type: SystemInt32
The maximum number of results - checks
- Type: SystemInt32
The number of times the tree(s) in the index should be recursively traversed. A
higher value for this parameter would give better search precision, but also take more
time. If automatic configuration was used when the index was created, the number of
checks required to achieve the specified precision was also computed, in which case
this parameter is ignored
Return Value
Type:
Int32The number of points in the search radius
See Also