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:
dec38e5
)
added support of homogeneous points to calcCorrespondEpilines (ticket #2055)
author
Vadim Pisarevsky
<no@email>
Sun, 1 Jul 2012 20:13:49 +0000
(20:13 +0000)
committer
Vadim Pisarevsky
<no@email>
Sun, 1 Jul 2012 20:13:49 +0000
(20:13 +0000)
modules/calib3d/src/fundam.cpp
patch
|
blob
|
history
diff --git
a/modules/calib3d/src/fundam.cpp
b/modules/calib3d/src/fundam.cpp
index
7b6ce7b
..
1515433
100644
(file)
--- a/
modules/calib3d/src/fundam.cpp
+++ b/
modules/calib3d/src/fundam.cpp
@@
-1128,6
+1128,8
@@
void cv::computeCorrespondEpilines( InputArray _points, int whichImage,
{
Mat points = _points.getMat(), F = _Fmat.getMat();
int npoints = points.checkVector(2);
+ if( npoints < 0 )
+ npoints = points.checkVector(3);
CV_Assert( npoints >= 0 && (points.depth() == CV_32F || points.depth() == CV_32S));
_lines.create(npoints, 1, CV_32FC3, -1, true);