Find the approximate nearest position in 3D

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 ApproximateNearestNeighbour(
	MCvPoint3D32f position,
	out double squareDist
)
Public Function ApproximateNearestNeighbour ( _
	position As MCvPoint3D32f, _
	<OutAttribute> ByRef squareDist As Double _
) As Integer
public:
int ApproximateNearestNeighbour(
	MCvPoint3D32f position, 
	[OutAttribute] double% squareDist
)

Parameters

position
MCvPoint3D32f
The position to start the search from
squareDist
Double%
The square distance of the nearest neighbour

Return Value

The index with the nearest 3D position

See Also