| 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
)
Public Shared Function SampsonDistance (
pt1 As InputArray,
pt2 As InputArray,
f As InputArray
) As Double
public:
static double SampsonDistance(
InputArray^ pt1,
InputArray^ pt2,
InputArray^ f
)
static member SampsonDistance :
pt1 : InputArray *
pt2 : InputArray *
f : InputArray -> float
Parameters
- pt1
- Type: OpenCvSharpInputArray
first homogeneous 2d point - pt2
- Type: OpenCvSharpInputArray
second homogeneous 2d point - f
- Type: OpenCvSharpInputArray
F fundamental matrix
Return Value
Type:
DoubleThe computed Sampson distance.
Remarks https://github.com/opencv/opencv/blob/master/modules/calib3d/src/fundam.cpp#L1109
See Also