Skip to content

Add new test data for extended camera calibration method #528

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Oct 25, 2018

Conversation

xoox
Copy link
Contributor

@xoox xoox commented Oct 8, 2018

The modified and added new data is used to test the extended camera
calibration method proposed in the PR opencv/opencv#12772. If that PR is merged into
OpenCV, this PR of test data should be also merged.

This pull request changes

Reorder 3D object coordinates of calib1.dat

The order of 3D object coordinates is modified, hence it's possible to
be used to test the extended camera calibration method with
CALIB_RELEASE_OBJECT specified.

The feature points in calib1.dat were drawn as following. The red dots
are the first row of the checkerboard. These images look like no good
for camera calibration. See Dr. Strobl's comments on good calibration
images: xoox/calibrel#1 (comment)
image0
image1
image2
image3
image4
image5
image6

Add new test data of calib2.dat

This test data file is used by regression test of the new extended
camera calibration method. The data is extracted from dataset3 of
calibrel_testdata. See xoox/calibrel#2 for explanation.

xoox added 3 commits October 6, 2018 19:36
Now the feature points are in the order as the same set of the object
points, which makes the test data usable for testing calibration with
CALIB_RELEASE_OBJECT flag.
opencv/modules/calib3d/test/test_cameracalibration.cpp must be sync with
this test data file.
The new added calib2.dat is used for regression test of camera
calibration with CALIB_RELEASE_OBJECT flag.
The new proposed calibration flag CALIB_RELEASE_OBJECT is removed. And
the method selection is based on the range of the index of fixed point.
For minus values, standard calibration method will be chosen. Values in
a rational range will make the object-releasing calibration method
selected.
@alalek alalek merged commit 5e06e25 into opencv:master Oct 25, 2018
l-bat pushed a commit to l-bat/opencv_extra that referenced this pull request Apr 24, 2019
Merge pull request opencv#516 from savuor:cvtcolor_bgr2gray_8u_15bits

* fixed perf data for PyrLK after bgr2gray 8u change

* fixed perf data for new bgr2gray coeffs

fixed issue #1754@contrib for ximgproc

Merge pull request opencv#528 from xoox:calib-release-object

Add new test data for extended camera calibration method (opencv#528)

* Reorder object points and image points

Now the feature points are in the order as the same set of the object
points, which makes the test data usable for testing calibration with
CALIB_RELEASE_OBJECT flag.

* Add one line to store calibration flags

opencv/modules/calib3d/test/test_cameracalibration.cpp must be sync with
this test data file.

* Add new test data for camera calibration

The new added calib2.dat is used for regression test of camera
calibration with CALIB_RELEASE_OBJECT flag.

* Add a line of data for the index of fixed point

The new proposed calibration flag CALIB_RELEASE_OBJECT is removed. And
the method selection is based on the range of the index of fixed point.
For minus values, standard calibration method will be chosen. Values in
a rational range will make the object-releasing calibration method
selected.

fixed "false alarm" test failures in opencv_test_objdetect (i.e. removed some errorneously detected "non-faces" from the regression data)

added sanity data for opencv_contrib/optflow module (since TVL1 optflow is now there and it does sanity check in perf tests)

Test data for opencv/opencv_contrib#1791

fixed perf data for mRGBA
rayonnant14 pushed a commit to rayonnant14/opencv_extra that referenced this pull request Oct 25, 2019
Add new test data for extended camera calibration method (opencv#528)

* Reorder object points and image points

Now the feature points are in the order as the same set of the object
points, which makes the test data usable for testing calibration with
CALIB_RELEASE_OBJECT flag.

* Add one line to store calibration flags

opencv/modules/calib3d/test/test_cameracalibration.cpp must be sync with
this test data file.

* Add new test data for camera calibration

The new added calib2.dat is used for regression test of camera
calibration with CALIB_RELEASE_OBJECT flag.

* Add a line of data for the index of fixed point

The new proposed calibration flag CALIB_RELEASE_OBJECT is removed. And
the method selection is based on the range of the index of fixed point.
For minus values, standard calibration method will be chosen. Values in
a rational range will make the object-releasing calibration method
selected.
sl-sergei pushed a commit to sl-sergei/opencv_extra that referenced this pull request Aug 29, 2020
Add new test data for extended camera calibration method (opencv#528)

* Reorder object points and image points

Now the feature points are in the order as the same set of the object
points, which makes the test data usable for testing calibration with
CALIB_RELEASE_OBJECT flag.

* Add one line to store calibration flags

opencv/modules/calib3d/test/test_cameracalibration.cpp must be sync with
this test data file.

* Add new test data for camera calibration

The new added calib2.dat is used for regression test of camera
calibration with CALIB_RELEASE_OBJECT flag.

* Add a line of data for the index of fixed point

The new proposed calibration flag CALIB_RELEASE_OBJECT is removed. And
the method selection is based on the range of the index of fixed point.
For minus values, standard calibration method will be chosen. Values in
a rational range will make the object-releasing calibration method
selected.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants