Click or drag to resize
CvInvokeFindFundamentalMat Method
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: (
public static void FindFundamentalMat(
	IInputArray points1,
	IInputArray points2,
	IOutputArray f,
	FmType method = FmType.Ransac,
	double param1 = 3,
	double param2 = 0.99,
	IOutputArray mask = null


Type: Emgu.CVIInputArray
Array of N points from the first image. The point coordinates should be floating-point (single or double precision).
Type: Emgu.CVIInputArray
Array of the second image points of the same size and format as points1
Type: Emgu.CVIOutputArray
The calculated fundamental matrix
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.
See Also