Performs a radius nearest neighbor search for multiple query points

Namespace: Emgu.CV.Flann
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.2.1.1150 (2.2.1.1150)

Syntax

         
 C#  Visual Basic  Visual C++ 
public int RadiusSearch(
	Matrix<float> queries,
	Matrix<int> indices,
	Matrix<float> squareDistances,
	float radius,
	int checks
)
Public Function RadiusSearch ( _
	queries As Matrix(Of Single), _
	indices As Matrix(Of Integer), _
	squareDistances As Matrix(Of Single), _
	radius As Single, _
	checks As Integer _
) As Integer
public:
int RadiusSearch(
	Matrix<float>^ queries, 
	Matrix<int>^ indices, 
	Matrix<float>^ squareDistances, 
	float radius, 
	int checks
)

Parameters

queries
Matrix<(Of <(<'Single>)>)>
The query points, one per row
indices
Matrix<(Of <(<'Int32>)>)>
Indices of the nearest neighbors found
squareDistances
Matrix<(Of <(<'Single>)>)>
The square of the Eculidean distance between the neighbours
radius
Single
The search radius
checks
Int32
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

The number of points in the search radius

See Also