Click or drag to resize

NativeMethodsml_KNearest_findNearest Method

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
[DllImportAttribute("OpenCvSharpExtern", CallingConvention = CallingConvention.Cdecl, 
	ExactSpelling = true)]
public static float ml_KNearest_findNearest(
	IntPtr obj,
	IntPtr samples,
	int k,
	IntPtr results,
	IntPtr neighborResponses,
	IntPtr dist
)

Parameters

obj
Type: SystemIntPtr
samples
Type: SystemIntPtr
k
Type: SystemInt32
results
Type: SystemIntPtr
neighborResponses
Type: SystemIntPtr
dist
Type: SystemIntPtr

Return Value

Type: Single
See Also