Click or drag to resize

Cv2SampsonDistance Method (InputArray, InputArray, InputArray)

Calculates the Sampson Distance between two points.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static double SampsonDistance(
	InputArray pt1,
	InputArray pt2,
	InputArray f
)

Parameters

pt1
Type: OpenCvSharpInputArray
first homogeneous 2d point
pt2
Type: OpenCvSharpInputArray
second homogeneous 2d point
f
Type: OpenCvSharpInputArray
F fundamental matrix

Return Value

Type: Double
The computed Sampson distance.
Remarks
https://github.com/opencv/opencv/blob/master/modules/calib3d/src/fundam.cpp#L1109
See Also