Click or drag to resize

CvInvokeFindFundamentalMat Method

http://www.emgu.com
Calculates fundamental matrix using one of four methods listed above and returns the number of fundamental matrices found (1 or 3) and 0, if no matrix is found.

Namespace:  Emgu.CV
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntax
public static Mat FindFundamentalMat(
	IInputArray points1,
	IInputArray points2,
	FmType method = FmType.Ransac,
	double param1 = 3,
	double param2 = 0.99,
	IOutputArray mask = null
)

Parameters

points1
Type: Emgu.CVIInputArray
Array of N points from the first image. The point coordinates should be floating-point (single or double precision).
points2
Type: Emgu.CVIInputArray
Array of the second image points of the same size and format as points1
method (Optional)
Type: Emgu.CV.CvEnumFmType
Method for computing the fundamental matrix
param1 (Optional)
Type: SystemDouble
Parameter used for RANSAC. It is the maximum distance from a point to an epipolar line in pixels, beyond which the point is considered an outlier and is not used for computing the final fundamental matrix. It can be set to something like 1-3, depending on the accuracy of the point localization, image resolution, and the image noise.
param2 (Optional)
Type: SystemDouble
Parameter used for the RANSAC or LMedS methods only. It specifies a desirable level of confidence (probability) that the estimated matrix is correct.
mask (Optional)
Type: Emgu.CVIOutputArray
The optional pointer to output array of N elements, every element of which is set to 0 for outliers and to 1 for the "inliers", i.e. points that comply well with the estimated epipolar geometry. The array is computed only in RANSAC and LMedS methods. For other methods it is set to all 1.

Return Value

Type: Mat
The calculated fundamental matrix
See Also