stereoRectifyUncalibrated returns degenerate homography matrix in some configurations (Bug #2643)


Added by Alexander Mordvintsev about 12 years ago. Updated about 12 years ago.


Status:Done Start date:2012-12-18
Priority:Normal Due date:
Assignee:Vadim Pisarevsky % Done:

0%

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

Description

I attached a code sample which renders a simple synthetic 3d scene from two viewpoints and tries to rectify them. 'correct.png' shows the result I expect (and often get). 'wrong.png' is the case of degenerate homography. Note that the function's behavior may differ dramatically for very similar camera configurations.


test_rectify.py - python script to reproduce problem (1.7 kB) Alexander Mordvintsev, 2012-12-18 11:27 am

correct.png (47.6 kB) Alexander Mordvintsev, 2012-12-18 11:27 am

wrong.png (36.7 kB) Alexander Mordvintsev, 2012-12-18 11:27 am


Related issues

related to Feature #2655: 'solve' fucntion works badly on ill-conditioned matrices ... Open 2012-12-21

Associated revisions

Revision 20838b6f
Added by Alexander Mordvintsev about 12 years ago

fix #2643: use SVD to solve least squares in cvStereoRectifyUncalibrated

Revision 6b986489
Added by Andrey Pavlenko almost 11 years ago

Merge pull request #2643 from vbystricky:ipp_GaussianBorder

History

Updated by Alexander Mordvintsev about 12 years ago

  • Status changed from Open to Done

Updated by Alexander Smorkalov about 12 years ago

  • Target version set to 2.4.4

Updated by Andrey Kamaev about 12 years ago

  • Target version changed from 2.4.4 to 2.4.3.2

Also available in: Atom PDF