aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlluís gómez i bigordà <lluisbigorda@users.sourceforge.net>2011-11-01 00:42:03 +0000
committerlluís gómez i bigordà <lluisbigorda@users.sourceforge.net>2011-11-01 00:42:03 +0000
commitf6fe8497e2daf6710b1ca221cf374f0e7bb1456b (patch)
treee086e6f3dedb8c357a52d7ae98c83e81753a6858
parent1bdfb30e6fe4a9e26afed30173626669eed3a20c (diff)
cleans a bug that leads to a crash on init *_opencv_lk with OpenCV 2.1
svn path=/trunk/externals/pdp_opencv/; revision=15689
-rwxr-xr-xpdp_opencv_lk.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/pdp_opencv_lk.cc b/pdp_opencv_lk.cc
index 7e25af8..354f9f2 100755
--- a/pdp_opencv_lk.cc
+++ b/pdp_opencv_lk.cc
@@ -171,9 +171,9 @@ static void pdp_opencv_lk_process_rgb(t_pdp_opencv_lk *x)
x->count = MAX_COUNT;
cvGoodFeaturesToTrack( x->grey, eig, temp, x->points[1], &x->count,
x->quality, x->min_distance, 0, 3, 0, 0.04 );
- cvFindCornerSubPix( x->grey, x->points[1], x->count,
- cvSize(x->win_size,x->win_size), cvSize(-1,-1),
- cvTermCriteria(CV_TERMCRIT_ITER|CV_TERMCRIT_EPS,20,0.03));
+ // cvFindCornerSubPix( x->grey, x->points[1], x->count,
+ // cvSize(x->win_size,x->win_size), cvSize(-1,-1),
+ // cvTermCriteria(CV_TERMCRIT_ITER|CV_TERMCRIT_EPS,20,0.03));
cvReleaseImage( &eig );
cvReleaseImage( &temp );