cvfindhomography used with distorted image points (Bug #1633)


Added by Pranav Kant Gaur about 13 years ago. Updated almost 13 years ago.


Status:Cancelled Start date:2012-02-29
Priority:Normal 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

In calibration.cpp
http://code.opencv.org/projects/opencv/repository/entry/tags/2.3.1/opencv/modules/calib3d/src/calibration.cpp#L1406

Image points given in matrix '_m' are distorted points(directly given from the user input) hence computed homography may not always hold.


Associated revisions

Revision bd1a1cc0
Added by Andrey Pavlenko over 11 years ago

Merge pull request #1633 from ilya-lavrenov:ocl_imgproc

History

Updated by Alexander Shishkov almost 13 years ago

  • Priority changed from High to Normal
  • Target version deleted ()
  • Category set to calibration, 3d

Updated by Ilya Lysenkov almost 13 years ago

  • Assignee set to Ilya Lysenkov

Updated by Ilya Lysenkov almost 13 years ago

Yes, you are right, these are distorted points. So the computed homography will be only approximation. That is why least-squares fitting is used at the line 1436 to find an optimal solution.

We cannot undistort points before calling this function at the line 1592 because it is executed when CV_CALIB_USE_INTRINSIC_GUESS is not set. It means we don't have distortion coefficients by this moment and original points have to be used.

  • Status changed from Open to Cancelled

Updated by Alexander Shishkov almost 13 years ago

  • Target version set to 2.4.0

Also available in: Atom PDF