From 4cd7acc8f50ffa46436d943647bbad1623703132 Mon Sep 17 00:00:00 2001 From: Stefan van der Walt Date: Wed, 1 Dec 2010 16:15:31 +0200 Subject: [PATCH] BUG: Fix status shape in cvFindFundamentalMat. --- scikits/image/opencv/opencv_cv.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scikits/image/opencv/opencv_cv.pyx b/scikits/image/opencv/opencv_cv.pyx index bbf2b4ca..a834d3f9 100644 --- a/scikits/image/opencv/opencv_cv.pyx +++ b/scikits/image/opencv/opencv_cv.pyx @@ -2548,7 +2548,7 @@ def cvFindFundamentalMat(points1, points2, int method=CV_FM_RANSAC, status_shape[0] = points1.shape[0] cdef np.ndarray F = new_array(2, fundamental_shape, FLOAT64) - cdef np.ndarray status = new_array(2, status_shape, FLOAT64) + cdef np.ndarray status = new_array(1, status_shape, FLOAT64) # Allocate cv images cdef IplImage points1_img