wrong error message in function cvCorrectMatches (Bug #1155)


Added by uvts cvs over 13 years ago. Updated almost 13 years ago.


Status:Done Start date:
Priority:Low Due date:
Assignee:Ilya Lysenkov % Done:

0%

Category:calibration, 3d
Target version:2.4.0
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

Hello,
I am considering this file:

https://code.ros.org/gf/project/opencv/scmsvn/?action=browse&path=%2Ftrunk%2Fopencv%2Fmodules%2Fcalib3d%2Fsrc%2Ftriangulate.cpp&view=markup&revision=3060

In my opinion the error message "The point-matrices must have two rows, and an equal number of columns" is wrong.

I think the correct one should be "The point-matrices must have one row, and an equal number of columns".

I think the header comment is also wrong.

" * points1_ : 2xN matrix containing the first set of points" is wrong, the correct one is :
" * points1_ : 1xN matrix containing the first set of points".

" * points2_ : 2xN matrix containing the second set of points" is wrong, the correct one is :
" * points2_ : 1xN matrix containing the second set of points".

Thank you.
Alessandro


Associated revisions

Revision 8fcd0d92
Added by Ilya Lysenkov almost 13 years ago

Fixed the error message in cvCorrectMatches (fixes #1155)

Revision aaf47578
Added by Andrey Pavlenko over 11 years ago

Merge pull request #1155 from bitwangyaoyao:master_fix

History

Updated by Alexander Shishkov almost 13 years ago

  • Target version deleted ()

Updated by Alexander Shishkov almost 13 years ago

  • Assignee deleted (Vadim Pisarevsky)

Updated by Ilya Lysenkov almost 13 years ago

  • Assignee set to Ilya Lysenkov

Updated by Ilya Lysenkov almost 13 years ago

Thank you for the report. It is fixed in r7707.

  • Status changed from Open to Done

Updated by Alexander Shishkov almost 13 years ago

  • Target version set to 2.4.0

Also available in: Atom PDF