Cv2ChamferMatching Method OpenCvSharp Class Library

[Missing <summary> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.ChamferMatching(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Point[][]@,System.Single[]@,System.Double,System.Int32,System.Double,System.Int32,System.Int32,System.Int32,System.Double,System.Double,System.Double,System.Double)"]

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static int ChamferMatching(
	Mat img,
	Mat templ,
	out Point[][] results,
	out float[] cost,
	double templScale = 1,
	int maxMatches = 20,
	double minMatchDistance = 1,
	int padX = 3,
	int padY = 3,
	int scales = 5,
	double minScale = 0.6,
	double maxScale = 1.6,
	double orientationWeight = 0.5,
	double truncate = 20
)

Parameters

img
Type: OpenCvSharp.CPlusPlusMat

[Missing <param name="img"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.ChamferMatching(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Point[][]@,System.Single[]@,System.Double,System.Int32,System.Double,System.Int32,System.Int32,System.Int32,System.Double,System.Double,System.Double,System.Double)"]

templ
Type: OpenCvSharp.CPlusPlusMat

[Missing <param name="templ"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.ChamferMatching(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Point[][]@,System.Single[]@,System.Double,System.Int32,System.Double,System.Int32,System.Int32,System.Int32,System.Double,System.Double,System.Double,System.Double)"]

results
Type: OpenCvSharp.CPlusPlusPoint

[Missing <param name="results"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.ChamferMatching(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Point[][]@,System.Single[]@,System.Double,System.Int32,System.Double,System.Int32,System.Int32,System.Int32,System.Double,System.Double,System.Double,System.Double)"]

cost
Type: SystemSingle

[Missing <param name="cost"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.ChamferMatching(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Point[][]@,System.Single[]@,System.Double,System.Int32,System.Double,System.Int32,System.Int32,System.Int32,System.Double,System.Double,System.Double,System.Double)"]

templScale (Optional)
Type: SystemDouble

[Missing <param name="templScale"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.ChamferMatching(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Point[][]@,System.Single[]@,System.Double,System.Int32,System.Double,System.Int32,System.Int32,System.Int32,System.Double,System.Double,System.Double,System.Double)"]

maxMatches (Optional)
Type: SystemInt32

[Missing <param name="maxMatches"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.ChamferMatching(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Point[][]@,System.Single[]@,System.Double,System.Int32,System.Double,System.Int32,System.Int32,System.Int32,System.Double,System.Double,System.Double,System.Double)"]

minMatchDistance (Optional)
Type: SystemDouble

[Missing <param name="minMatchDistance"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.ChamferMatching(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Point[][]@,System.Single[]@,System.Double,System.Int32,System.Double,System.Int32,System.Int32,System.Int32,System.Double,System.Double,System.Double,System.Double)"]

padX (Optional)
Type: SystemInt32

[Missing <param name="padX"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.ChamferMatching(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Point[][]@,System.Single[]@,System.Double,System.Int32,System.Double,System.Int32,System.Int32,System.Int32,System.Double,System.Double,System.Double,System.Double)"]

padY (Optional)
Type: SystemInt32

[Missing <param name="padY"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.ChamferMatching(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Point[][]@,System.Single[]@,System.Double,System.Int32,System.Double,System.Int32,System.Int32,System.Int32,System.Double,System.Double,System.Double,System.Double)"]

scales (Optional)
Type: SystemInt32

[Missing <param name="scales"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.ChamferMatching(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Point[][]@,System.Single[]@,System.Double,System.Int32,System.Double,System.Int32,System.Int32,System.Int32,System.Double,System.Double,System.Double,System.Double)"]

minScale (Optional)
Type: SystemDouble

[Missing <param name="minScale"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.ChamferMatching(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Point[][]@,System.Single[]@,System.Double,System.Int32,System.Double,System.Int32,System.Int32,System.Int32,System.Double,System.Double,System.Double,System.Double)"]

maxScale (Optional)
Type: SystemDouble

[Missing <param name="maxScale"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.ChamferMatching(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Point[][]@,System.Single[]@,System.Double,System.Int32,System.Double,System.Int32,System.Int32,System.Int32,System.Double,System.Double,System.Double,System.Double)"]

orientationWeight (Optional)
Type: SystemDouble

[Missing <param name="orientationWeight"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.ChamferMatching(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Point[][]@,System.Single[]@,System.Double,System.Int32,System.Double,System.Int32,System.Int32,System.Int32,System.Double,System.Double,System.Double,System.Double)"]

truncate (Optional)
Type: SystemDouble

[Missing <param name="truncate"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.ChamferMatching(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Point[][]@,System.Single[]@,System.Double,System.Int32,System.Double,System.Int32,System.Int32,System.Int32,System.Double,System.Double,System.Double,System.Double)"]

Return Value

Type: Int32

[Missing <returns> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.ChamferMatching(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Point[][]@,System.Single[]@,System.Double,System.Int32,System.Double,System.Int32,System.Int32,System.Int32,System.Double,System.Double,System.Double,System.Double)"]

See Also

Reference