projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04a4e51
)
fixed rank check in 8-point Fundamental Matrix algorithm (patch by F. Devernay; ticke...
author
Vadim Pisarevsky
<no@email>
Sat, 6 Aug 2011 19:38:09 +0000
(19:38 +0000)
committer
Vadim Pisarevsky
<no@email>
Sat, 6 Aug 2011 19:38:09 +0000
(19:38 +0000)
modules/calib3d/src/fundam.cpp
patch
|
blob
|
history
diff --git
a/modules/calib3d/src/fundam.cpp
b/modules/calib3d/src/fundam.cpp
index
d86dd75
..
63f0219
100644
(file)
--- a/
modules/calib3d/src/fundam.cpp
+++ b/
modules/calib3d/src/fundam.cpp
@@
-501,13
+501,13
@@
int CvFMEstimator::run8Point( const CvMat* _m1, const CvMat* _m2, CvMat* _fmatri
cvEigenVV(&A, &V, &W);
- for( i = 0; i <
8
; i++ )
+ for( i = 0; i <
9
; i++ )
{
if( fabs(w[i]) < DBL_EPSILON )
break;
}
- if( i <
7
)
+ if( i <
8
)
return 0;
F0 = cvMat( 3, 3, CV_64F, v + 9*8 ); // take the last column of v as a solution of Af = 0