From 499fab1281d0de4e847ffa965fee029ed7c9cd33 Mon Sep 17 00:00:00 2001 From: Stefan van der Walt Date: Wed, 1 Dec 2010 15:26:47 +0200 Subject: [PATCH] BUG: Include default parameters for cvFindFundamentalMat. --- scikits/image/opencv/opencv_cv.pyx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scikits/image/opencv/opencv_cv.pyx b/scikits/image/opencv/opencv_cv.pyx index 0c3eb176..bbf2b4ca 100644 --- a/scikits/image/opencv/opencv_cv.pyx +++ b/scikits/image/opencv/opencv_cv.pyx @@ -2520,7 +2520,8 @@ status : ndarray, length N, dtype=bool Indicates whether a data-point is an inlier (True) or outlier (False). Only used by RANSAC and MLedS; other methods set all True.''') -def cvFindFundamentalMat(points1, points2, method, param1, param2): +def cvFindFundamentalMat(points1, points2, int method=CV_FM_RANSAC, + double param1=1, double param2=0.99): validate_array(points1) validate_array(points2)