Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

OE 20. Module Calibration

Vadim Pisarevsky edited this pageMar 7, 2018 ·2 revisions

Introduce a separate camera calibration module

  • Author: Vadim Pisarevsky
  • Link:The feature request
  • Status:Draft
  • Platforms:All
  • Complexity: 1-2 man-months

Introduction and Rationale

The modulecalib3d from OpenCV 2.x and 3.x includes various functionality including camera calibration algorithms. At the same time, there is experimentalccalib module in opencv_contrib that includes some new camera calibration algorithms. There is alsoaruco module that implements detection of the fancy camera calibration rig. It makes sense to consolidate all this code in a dedicated module.

Proposed solution

Create a dedicatedcalib orccalib module in the main repository with the refined camera calibration functionality fromcalib3d andccalib (and may bearuco). All the functionality should be rewritten without using old C API. The obsolete non-robust code should be excluded. In particular, we now have many camera pose estimation algorithms (wrapped intocv::solvePnP()), but many of them do not work well and thus are excluded. The RANSAC variant ofcv::solvePnP() also does not work well (links needed) and should be refined.

There is also very goodinteractive camera calibration app. Perhaps, parts of it should be put to the module as well, and the app itself can be made a sample inside this module.

As a stretch goal, much more radical changes and new features can be put. For example, Rodrigues vector seems to be inferior to quaternions, so we should probably use the latter for rotation vectors.

Also, there are some very interesting self-calibration algorithms, such asBAZAR (is it the correct link?) that may also be put into the library. But that's probably a longer-term goals.

Impact on existing code, compatibility

Overall, the external API will change slightly, if any, but users will have to put some other include directives in their code (or keep using#include "opencv2/opencv.hpp").

Possible alternatives

nothing really; we need to consolidate the camera calibration code.

References

TBD

© Copyright 2019-2025, OpenCV team

Clone this wiki locally


[8]ページ先頭

©2009-2025 Movatter.jp