| Cv2SampsonDistance Method (Point3d, Point3d, Double) |
Calculates the Sampson Distance between two points.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static double SampsonDistance(
Point3d pt1,
Point3d pt2,
double[,] f
)
Public Shared Function SampsonDistance (
pt1 As Point3d,
pt2 As Point3d,
f As Double(,)
) As Double
public:
static double SampsonDistance(
Point3d pt1,
Point3d pt2,
array<double,2>^ f
)
static member SampsonDistance :
pt1 : Point3d *
pt2 : Point3d *
f : float[,] -> float
Parameters
- pt1
- Type: OpenCvSharpPoint3d
first homogeneous 2d point - pt2
- Type: OpenCvSharpPoint3d
second homogeneous 2d point - f
- Type: SystemDouble
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