Given the image to be examined, find in the database the most similar object, return the index and the eigen distance

Namespace:  Emgu.CV
Assembly:  Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)

Syntax

C#
public void FindMostSimilarObject(
	Image<Gray, byte> image,
	out int index,
	out float eigenDistance,
	out string label
)
Visual Basic (Declaration)
Public Sub FindMostSimilarObject ( _
	image As Image(Of Gray, Byte), _
	<OutAttribute> ByRef index As Integer, _
	<OutAttribute> ByRef eigenDistance As Single, _
	<OutAttribute> ByRef label As String _
)
Visual C++
public:
void FindMostSimilarObject(
	Image<Gray, unsigned char>^ image, 
	[OutAttribute] int% index, 
	[OutAttribute] float% eigenDistance, 
	[OutAttribute] String^% label
)

Parameters

image
Type: Emgu.CV..::.Image<(Of <(Gray, Byte>)>)
The image to be searched from the database
index
Type: System..::.Int32 %
The index of the most similar object
eigenDistance
Type: System..::.Single %
The eigen distance of the most similar object
label
Type: System..::.String %
The label of the specific image

See Also