Click or drag to resize

Cv2BatchDistance Method

naive nearest neighbor finder

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static void BatchDistance(
	InputArray src1,
	InputArray src2,
	OutputArray dist,
	int dtype,
	OutputArray nidx,
	NormTypes normType = NormTypes.L2,
	int k = 0,
	InputArray mask = null,
	int update = 0,
	bool crosscheck = false
)

Parameters

src1
Type: OpenCvSharpInputArray

[Missing <param name="src1"/> documentation for "M:OpenCvSharp.Cv2.BatchDistance(OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.OutputArray,System.Int32,OpenCvSharp.OutputArray,OpenCvSharp.NormTypes,System.Int32,OpenCvSharp.InputArray,System.Int32,System.Boolean)"]

src2
Type: OpenCvSharpInputArray

[Missing <param name="src2"/> documentation for "M:OpenCvSharp.Cv2.BatchDistance(OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.OutputArray,System.Int32,OpenCvSharp.OutputArray,OpenCvSharp.NormTypes,System.Int32,OpenCvSharp.InputArray,System.Int32,System.Boolean)"]

dist
Type: OpenCvSharpOutputArray

[Missing <param name="dist"/> documentation for "M:OpenCvSharp.Cv2.BatchDistance(OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.OutputArray,System.Int32,OpenCvSharp.OutputArray,OpenCvSharp.NormTypes,System.Int32,OpenCvSharp.InputArray,System.Int32,System.Boolean)"]

dtype
Type: SystemInt32

[Missing <param name="dtype"/> documentation for "M:OpenCvSharp.Cv2.BatchDistance(OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.OutputArray,System.Int32,OpenCvSharp.OutputArray,OpenCvSharp.NormTypes,System.Int32,OpenCvSharp.InputArray,System.Int32,System.Boolean)"]

nidx
Type: OpenCvSharpOutputArray

[Missing <param name="nidx"/> documentation for "M:OpenCvSharp.Cv2.BatchDistance(OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.OutputArray,System.Int32,OpenCvSharp.OutputArray,OpenCvSharp.NormTypes,System.Int32,OpenCvSharp.InputArray,System.Int32,System.Boolean)"]

normType (Optional)
Type: OpenCvSharpNormTypes

[Missing <param name="normType"/> documentation for "M:OpenCvSharp.Cv2.BatchDistance(OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.OutputArray,System.Int32,OpenCvSharp.OutputArray,OpenCvSharp.NormTypes,System.Int32,OpenCvSharp.InputArray,System.Int32,System.Boolean)"]

k (Optional)
Type: SystemInt32

[Missing <param name="k"/> documentation for "M:OpenCvSharp.Cv2.BatchDistance(OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.OutputArray,System.Int32,OpenCvSharp.OutputArray,OpenCvSharp.NormTypes,System.Int32,OpenCvSharp.InputArray,System.Int32,System.Boolean)"]

mask (Optional)
Type: OpenCvSharpInputArray

[Missing <param name="mask"/> documentation for "M:OpenCvSharp.Cv2.BatchDistance(OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.OutputArray,System.Int32,OpenCvSharp.OutputArray,OpenCvSharp.NormTypes,System.Int32,OpenCvSharp.InputArray,System.Int32,System.Boolean)"]

update (Optional)
Type: SystemInt32

[Missing <param name="update"/> documentation for "M:OpenCvSharp.Cv2.BatchDistance(OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.OutputArray,System.Int32,OpenCvSharp.OutputArray,OpenCvSharp.NormTypes,System.Int32,OpenCvSharp.InputArray,System.Int32,System.Boolean)"]

crosscheck (Optional)
Type: SystemBoolean

[Missing <param name="crosscheck"/> documentation for "M:OpenCvSharp.Cv2.BatchDistance(OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.OutputArray,System.Int32,OpenCvSharp.OutputArray,OpenCvSharp.NormTypes,System.Int32,OpenCvSharp.InputArray,System.Int32,System.Boolean)"]

See Also