Dear all,
I complied opencv 2.4.13 on Ubuntu14.04(gcc 4.8.2 ), and it FAILED when I ran the accuracy test opencv_test_calib3d . The exact failed test was fisheyeTest.rectify.
I thought it failed because the source and the testdata were different versions. So I downloaded testdata 2.4.13 releases from github ,but it didn't work.
Then, I rebuilded opencv on VS2015(win10), the fisheyeTest.rectify passed.
Why ubuntu's fisheyeTest.rectify failed but win10 passed with same source and same testdata? Why different behaves between ubuntu and win10?
I have tried gcc 5.4.0 on ubuntu 16.04, but failed again.
Thanks for your help.
outputs:(ubuntu)
[ RUN ] fisheyeTest.rectify
/home/jjsu/opencv/opencv-2.4.13/modules/calib3d/test/test_fisheye.cpp:437: Failure
The max difference between matrices "correct" and "rectification" is 26 at (87, 373), which exceeds "1e-10", where "correct" at (87, 373) evaluates to (160, 75, 100), "rectfication" at (87, 373) evaluates to (134, 84, 97), "1e-10" evaluates to 1e-10
/home/jjsu/opencv/opencv-2.4.13/modules/calib3d/test/test_fisheye.cpp:437: Failure
The max difference between matrices "correct" and "rectification" is 27 at (87, 373), which exceeds "1e-10", where "correct" at (87, 373) evaluates to (159, 76, 103), "rectfication" at (87, 373) evaluates to (132, 83, 99), "1e-10" evaluates to 1e-10
/home/jjsu/opencv/opencv-2.4.13/modules/calib3d/test/test_fisheye.cpp:437: Failure
The max difference between matrices "correct" and "rectification" is 23 at (82, 374), which exceeds "1e-10", where "correct" at (82, 374) evaluates to (224, 158, 140), "recification" at (82, 374) evaluates to (201, 159, 152), "1e-10" evaluates to 1e-10
/home/jjsu/opencv/opencv-2.4.13/modules/calib3d/test/test_fisheye.cpp:437: Failure
The max difference between matrices "correct" and "rectification" is 23 at (82, 374), which exceeds "1e-10", where "correct" at (82, 374) evaluates to (223, 160, 144), "recification" at (82, 374) evaluates to (200, 160, 153), "1e-10" evaluates to 1e-10
/home/jjsu/opencv/opencv-2.4.13/modules/calib3d/test/test_fisheye.cpp:437: Failure
The max difference between matrices "correct" and "rectification" is 26 at (87, 373), which exceeds "1e-10", where "correct" at (87, 373) evaluates to (157, 77, 104), "rectfication" at (87, 373) evaluates to (131, 86, 100), "1e-10" evaluates to 1e-10
/home/jjsu/opencv/opencv-2.4.13/modules/calib3d/test/test_fisheye.cpp:437: Failure
The max difference between matrices "correct" and "rectification" is 25 at (87, 373), which exceeds "1e-10", where "correct" at (87, 373) evaluates to (159, 79, 103), "rectfication" at (87, 373) evaluates to (134, 86, 99), "1e-10" evaluates to 1e-10
/home/jjsu/opencv/opencv-2.4.13/modules/calib3d/test/test_fisheye.cpp:437: Failure
The max difference between matrices "correct" and "rectification" is 27 at (90, 13), which exceeds "1e-10", where "correct" at (90, 13) evaluates to (168, 90, 111), "rectifcation" at (90, 13) evaluates to (141, 95, 112), "1e-10" evaluates to 1e-10
/home/jjsu/opencv/opencv-2.4.13/modules/calib3d/test/test_fisheye.cpp:437: Failure
The max difference between matrices "correct" and "rectification" is 25 at (90, 13), which exceeds "1e-10", where "correct" at (90, 13) evaluates to (163, 87, 116), "rectifcation" at (90, 13) evaluates to (138, 94, 114), "1e-10" evaluates to 1e-10
/home/jjsu/opencv/opencv-2.4.13/modules/calib3d/test/test_fisheye.cpp:437: Failure
The max difference between matrices "correct" and "rectification" is 23 at (82, 374), which exceeds "1e-10", where "correct" at (82, 374) evaluates to (220, 154, 130), "recification" at (82, 374) evaluates to (197, 154, 144), "1e-10" evaluates to 1e-10
/home/jjsu/opencv/opencv-2.4.13/modules/calib3d/test/test_fisheye.cpp:437: Failure
The max difference between matrices "correct" and "rectification" is 26 at (87, 373), which exceeds "1e-10", where "correct" at (87, 373) evaluates to (159, 81, 102), "rectfication" at (87, 373) evaluates to (133, 88, 100), "1e-10" evaluates to 1e-10
/home/jjsu/opencv/opencv-2.4.13/modules/calib3d/test/test_fisheye.cpp:437: Failure
The max difference between matrices "correct" and "rectification" is 27 at (90, 13), which exceeds "1e-10", where "correct" at (90, 13) evaluates to (171, 90, 111), "rectifcation" at (90, 13) evaluates to (144, 96, 112), "1e-10" evaluates to 1e-10
/home/jjsu/opencv/opencv-2.4.13/modules/calib3d/test/test_fisheye.cpp:437: Failure
The max difference between matrices "correct" and "rectification" is 22 at (106, 1387), which exceeds "1e-10", where "correct" at (106, 1387) evaluates to (144, 162, 204), rectification" at (106, 1387) evaluates to (166, 166, 193), "1e-10" evaluates to 1e-10
/home/jjsu/opencv/opencv-2.4.13/modules/calib3d/test/test_fisheye.cpp:437: Failure
The max difference between matrices "correct" and "rectification" is 26 at (87, 373), which exceeds "1e-10", where "correct" at (87, 373) evaluates to (167, 85, 109), "rectfication" at (87, 373) evaluates to (141, 93, 104), "1e-10" evaluates to 1e-10
/home/jjsu/opencv/opencv-2.4.13/modules/calib3d/test/test_fisheye.cpp:437: Failure
The max difference between matrices "correct" and "rectification" is 22 at (82, 374), which exceeds "1e-10", where "correct" at (82, 374) evaluates to (220, 151, 140), "recification" at (82, 374) evaluates to (198, 153, 149), "1e-10" evaluates to 1e-10
/home/jjsu/opencv/opencv-2.4.13/modules/calib3d/test/test_fisheye.cpp:437: Failure
The max difference between matrices "correct" and "rectification" is 26 at (90, 13), which exceeds "1e-10", where "correct" at (90, 13) evaluates to (171, 92, 116), "rectifcation" at (90, 13) evaluates to (145, 98, 116), "1e-10" evaluates to 1e-10
/home/jjsu/opencv/opencv-2.4.13/modules/calib3d/test/test_fisheye.cpp:437: Failure
The max difference between matrices "correct" and "rectification" is 22 at (75, 1303), which exceeds "1e-10", where "correct" at (75, 1303) evaluates to (198, 231, 252), "rctification" at (75, 1303) evaluates to (220, 233, 251), "1e-10" evaluates to 1e-10
/home/jjsu/opencv/opencv-2.4.13/modules/calib3d/test/test_fisheye.cpp:437: Failure
The max difference between matrices "correct" and "rectification" is 26 at (90, 13), which exceeds "1e-10", where "correct" at (90, 13) evaluates to (166, 88, 109), "rectifcation" at (90, 13) evaluates to (140, 94, 110), "1e-10" evaluates to 1e-10
/home/jjsu/opencv/opencv-2.4.13/modules/calib3d/test/test_fisheye.cpp:437: Failure
The max difference between matrices "correct" and "rectification" is 23 at (90, 13), which exceeds "1e-10", where "correct" at (90, 13) evaluates to (181, 108, 122), "rectiication" at (90, 13) evaluates to (158, 112, 125), "1e-10" evaluates to 1e-10
/home/jjsu/opencv/opencv-2.4.13/modules/calib3d/test/test_fisheye.cpp:437: Failure
The max difference between matrices "correct" and "rectification" is 23 at (90, 13), which exceeds "1e-10", where "correct" at (90, 13) evaluates to (181, 111, 121), "rectiication" at (90, 13) evaluates to (158, 115, 124), "1e-10" evaluates to 1e-10
/home/jjsu/opencv/opencv-2.4.13/modules/calib3d/test/test_fisheye.cpp:437: Failure
The max difference between matrices "correct" and "rectification" is 26 at (90, 13), which exceeds "1e-10", where "correct" at (90, 13) evaluates to (167, 92, 111), "rectifcation" at (90, 13) evaluates to (141, 98, 112), "1e-10" evaluates to 1e-10
/home/jjsu/opencv/opencv-2.4.13/modules/calib3d/test/test_fisheye.cpp:437: Failure
The max difference between matrices "correct" and "rectification" is 24 at (90, 13), which exceeds "1e-10", where "correct" at (90, 13) evaluates to (164, 87, 113), "rectifcation" at (90, 13) evaluates to (140, 93, 111), "1e-10" evaluates to 1e-10
/home/jjsu/opencv/opencv-2.4.13/modules/calib3d/test/test_fisheye.cpp:437: Failure
The max difference between matrices "correct" and "rectification" is 26 at (90, 13), which exceeds "1e-10", where "correct" at (90, 13) evaluates to (167, 92, 105), "rectifcation" at (90, 13) evaluates to (141, 96, 109), "1e-10" evaluates to 1e-10
/home/jjsu/opencv/opencv-2.4.13/modules/calib3d/test/test_fisheye.cpp:437: Failure
The max difference between matrices "correct" and "rectification" is 23 at (82, 374), which exceeds "1e-10", where "correct" at (82, 374) evaluates to (219, 150, 135), "recification" at (82, 374) evaluates to (196, 151, 146), "1e-10" evaluates to 1e-10
/home/jjsu/opencv/opencv-2.4.13/modules/calib3d/test/test_fisheye.cpp:437: Failure
The max difference between matrices "correct" and "rectification" is 26 at (90, 13), which exceeds "1e-10", where "correct" at (90, 13) evaluates to (170, 93, 108), "rectifcation" at (90, 13) evaluates to (144, 98, 111), "1e-10" evaluates to 1e-10
/home/jjsu/opencv/opencv-2.4.13/modules/calib3d/test/test_fisheye.cpp:437: Failure
The max difference between matrices "correct" and "rectification" is 19 at (90, 13), which exceeds "1e-10", where "correct" at (90, 13) evaluates to (185, 132, 133), "rectiication" at (90, 13) evaluates to (166, 134, 138), "1e-10" evaluates to 1e-10
/home/jjsu/opencv/opencv-2.4.13/modules/calib3d/test/test_fisheye.cpp:437: Failure
The max difference between matrices "correct" and "rectification" is 27 at (87, 373), which exceeds "1e-10", where "correct" at (87, 373) evaluates to (162, 80, 112), "rectfication" at (87, 373) evaluates to (135, 90, 107), "1e-10" evaluates to 1e-10
/home/jjsu/opencv/opencv-2.4.13/modules/calib3d/test/test_fisheye.cpp:437: Failure
The max difference between matrices "correct" and "rectification" is 26 at (90, 13), which exceeds "1e-10", where "correct" at (90, 13) evaluates to (169, 88, 114), "rectifcation" at (90, 13) evaluates to (143, 95, 113), "1e-10" evaluates to 1e-10
/home/jjsu/opencv/opencv-2.4.13/modules/calib3d/test/test_fisheye.cpp:437: Failure
The max difference between matrices "correct" and "rectification" is 27 at (90, 13), which exceeds "1e-10", where "correct" at (90, 13) evaluates to (169, 88, 109), "rectifcation" at (90, 13) evaluates to (142, 93, 110), "1e-10" evaluates to 1e-10
/home/jjsu/opencv/opencv-2.4.13/modules/calib3d/test/test_fisheye.cpp:437: Failure
The max difference between matrices "correct" and "rectification" is 25 at (90, 13), which exceeds "1e-10", where "correct" at (90, 13) evaluates to (166, 91, 110), "rectifcation" at (90, 13) evaluates to (141, 96, 111), "1e-10" evaluates to 1e-10
/home/jjsu/opencv/opencv-2.4.13/modules/calib3d/test/test_fisheye.cpp:437: Failure
The max difference between matrices "correct" and "rectification" is 24 at (90, 13), which exceeds "1e-10", where "correct" at (90, 13) evaluates to (166, 91, 110), "rectifcation" at (90, 13) evaluates to (142, 96, 112), "1e-10" evaluates to 1e-10
/home/jjsu/opencv/opencv-2.4.13/modules/calib3d/test/test_fisheye.cpp:437: Failure
The max difference between matrices "correct" and "rectification" is 27 at (90, 13), which exceeds "1e-10", where "correct" at (90, 13) evaluates to (169, 90, 110), "rectifcation" at (90, 13) evaluates to (142, 96, 111), "1e-10" evaluates to 1e-10
/home/jjsu/opencv/opencv-2.4.13/modules/calib3d/test/test_fisheye.cpp:437: Failure
The max difference between matrices "correct" and "rectification" is 26 at (90, 13), which exceeds "1e-10", where "correct" at (90, 13) evaluates to (169, 90, 111), "rectifcation" at (90, 13) evaluates to (143, 96, 113), "1e-10" evaluates to 1e-10
/home/jjsu/opencv/opencv-2.4.13/modules/calib3d/test/test_fisheye.cpp:437: Failure
The max difference between matrices "correct" and "rectification" is 26 at (90, 13), which exceeds "1e-10", where "correct" at (90, 13) evaluates to (168, 87, 113), "rectifcation" at (90, 13) evaluates to (142, 95, 113), "1e-10" evaluates to 1e-10
/home/jjsu/opencv/opencv-2.4.13/modules/calib3d/test/test_fisheye.cpp:437: Failure
The max difference between matrices "correct" and "rectification" is 23 at (82, 374), which exceeds "1e-10", where "correct" at (82, 374) evaluates to (220, 148, 138), "recification" at (82, 374) evaluates to (197, 150, 147), "1e-10" evaluates to 1e-10
[ FAILED ] fisheyeTest.rectify (5116 ms)
outputs: (win10)
[ RUN ] fisheyeTest.rectify
[ OK ] fisheyeTest.rectify (2700 ms)