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.2.1.1150 (2.2.1.1150)

Syntax

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

Parameters

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

See Also