Commit Graph

628 Commits

Author SHA1 Message Date
Vadim Pisarevsky
43e3b83832 fixed potential memory buffer corruption in StereoSGBM (patch #2203) 2012-10-11 14:07:07 +04:00
Andrey Kamaev
5a5c477be6 Make performance tests for solvePnPRansec more determenistic 2012-10-09 18:41:26 +04:00
Vadim Pisarevsky
c3c49a317b fixed outlier filtering in cvStereoRectifyUncalibrated (bug #2367) 2012-09-19 16:51:49 +04:00
Andrey Kamaev
1a621c2916 Fix build warnings 2012-08-19 19:36:43 +04:00
Maria Dimashova
839761fa3d fixed #2167 2012-07-16 09:00:25 +00:00
Maria Dimashova
5112d74cad revert my incorrect fix of #2167 2012-07-16 08:02:50 +00:00
Maria Dimashova
d65920d2f7 fixed #2167 2012-07-15 19:10:52 +00:00
Vadim Pisarevsky
e918877bcf fixed bug with uninitialized variable in cvGetOptimalNewCameraMatrix (patch #1731 by floemker) 2012-07-01 20:56:27 +00:00
Vadim Pisarevsky
b5eb318ae3 added support of homogeneous points to calcCorrespondEpilines (ticket #2055) 2012-07-01 20:13:49 +00:00
Andrey Kamaev
6c3137a8b5 Fixed divide by zero problem in cvStereoRectify (thanks to Philip Van Valkenberg) #2099 2012-06-27 15:15:32 +00:00
Andrey Kamaev
c5aba337e9 Fixed number of warnings. Fixed mingw64 build. 2012-06-12 14:46:12 +00:00
Andrey Kamaev
f2d3b9b4a1 Warning fixes continued 2012-06-09 15:00:04 +00:00
Andrey Kamaev
f62028dc16 Fixed mingw build. 2012-06-08 03:15:08 +00:00
Andrey Kamaev
49a1ba6038 Set stricter warning rules for gcc 2012-06-07 17:21:29 +00:00
Vadim Pisarevsky
d5a0088bbe merged 2.4 into trunk 2012-04-30 14:33:52 +00:00
Vadim Pisarevsky
2fd1e2ea57 merged all the latest changes from 2.4 to trunk 2012-04-13 21:50:59 +00:00
Vadim Pisarevsky
beb7fc3c92 a LOT of obsolete stuff has been moved to the legacy module. 2012-03-30 12:19:25 +00:00
Ilya Lysenkov
e7b4353505 Added termination criteria as a calibrateCamera() parameter 2012-03-29 17:19:15 +00:00
Ilya Lysenkov
f29912b501 Added wrappers of cvCorrectMatches (#1350) 2012-03-29 13:21:24 +00:00
Ilya Lysenkov
37db334f8a Added wrappers of cvTriangulatePoints() 2012-03-29 10:39:06 +00:00
Ilya Lysenkov
8fcd0d9222 Fixed the error message in cvCorrectMatches (fixes #1155) 2012-03-28 17:29:49 +00:00
Vadim Pisarevsky
aed276e67d fixed cvComputeCorrespondEpilines to handle <5 points (ticket #1635) 2012-03-28 13:37:14 +00:00
Ilya Lysenkov
3b5b20b795 Fixed wrong computation of a reprojection matrix Q in stereoRectify (#898) 2012-03-27 15:02:53 +00:00
Ilya Lysenkov
3517be757b Added checking whether aspect ratio is valid or not 2012-03-26 13:07:21 +00:00
Ilya Lysenkov
6d1f4bfba4 Added projectPoints() for 3xN objectPoints and 2xN imagePoints (#1550) 2012-03-26 11:10:34 +00:00
Vadim Pisarevsky
a3362864e1 removed unnecessary MIN(); bug #1578 2012-03-26 10:01:30 +00:00
Marina Kolpakova
4eaced12fe fixed bug #1700 2012-03-19 15:59:30 +00:00
Marina Kolpakova
d10616775b Fixed bug #1634 2012-03-18 17:28:44 +00:00
Vadim Pisarevsky
fb804cb352 fixed StereoBM crash on MacOSX 10.7 2012-03-17 11:12:24 +00:00
Vadim Pisarevsky
846e37ded5 fixed many warnings from GCC 4.6.1 2012-03-17 09:22:31 +00:00
Vadim Pisarevsky
4985c1b632 fixed hundreds of warnings from MSVC 2010. 2012-03-16 21:21:04 +00:00
Andrey Kamaev
e4307d05f3 Made dependency of features2d and calib3d from highgui optional 2012-03-13 12:33:16 +00:00
Ilya Lysenkov
207e46b425 Restored findCirclesGridDefault() for backward compatibility 2012-03-13 09:38:00 +00:00
Ilya Lysenkov
1252671c9d Added a full Python wrapper of findCirclesGrid 2012-03-12 11:40:46 +00:00
Alexander Shishkov
11ad582250 done user requirement from yvonnic2m@gmail.com 2012-01-06 15:26:24 +00:00
Vladislav Vinogradov
92a682093a fixed compilation error 2011-12-27 06:19:20 +00:00
Alexander Shishkov
26aef8c719 added skipped file 2011-12-26 13:08:46 +00:00
Alexander Shishkov
c11551a510 added P3P method
added test for solvePnP
changed test for solvePnPRansac
fixed bug with mutex solvePnPRansac
2011-12-26 12:59:07 +00:00
Alexander Shishkov
6fa936472e fixed compilation errors in epnp with gcc 2011-12-20 12:10:12 +00:00
Alexander Shishkov
c5d8ec4ac0 first version of ePnP code 2011-12-20 11:33:12 +00:00
Andrey Kamaev
664cd5460e Tegra-optimized cv::compare 2011-11-07 06:29:34 +00:00
Ilya Lysenkov
8483f9ce40 Fixed the new version of findCirclesGrid. 2011-09-20 13:45:46 +00:00
Ilya Lysenkov
d263fe2b25 Removed unnecessary variables. 2011-09-20 13:16:54 +00:00
Ilya Lysenkov
0ef4ff8925 Improved robustness of the findCirclesGrid() to affine distortions. 2011-09-20 12:47:24 +00:00
Andrey Kamaev
f45a886adc Tegra optimization for CirclesGridClusterFinder::hierarchicalClustering 2011-09-19 15:14:14 +00:00
Andrey Kamaev
1554d7ab65 Removed countNonZero call from CirclesGridClusterFinder::hierarchicalClustering 2011-09-16 12:38:41 +00:00
Andrey Kamaev
6d56105b42 Removed unnecessary comparison from CirclesGridClusterFinder::hierarchicalClustering 2011-09-15 14:43:23 +00:00
Vadim Pisarevsky
dd1315b22a fixed rank check in 8-point Fundamental Matrix algorithm (patch by F. Devernay; ticket #1273) 2011-08-06 19:38:09 +00:00
Vadim Pisarevsky
04a4e51920 fixed parallel block matching stereo correspondence algorithm (ticket #997; thanks to jbieger for the patch) 2011-08-06 19:28:20 +00:00
Vadim Pisarevsky
16b0fcf083 fixed CvHomographyEstimator::runKernel (ticket #1275) 2011-08-04 13:06:08 +00:00
Vadim Pisarevsky
c57799a877 fixed 8-point case in findFundamentalMat (ticket #1262). findFundamentalMat needs to be rewritten actually (as well as findHomography) 2011-08-03 14:04:14 +00:00
Vadim Pisarevsky
db19eb1586 converted part of ch12 2011-07-28 20:51:05 +00:00
Vadim Pisarevsky
eac0309324 converted live camera calibration sample 2011-07-27 13:03:59 +00:00
Vadim Pisarevsky
ff5e97c8e4 added COVAR_ and SORT_ enums to core.hpp; fixed many, many VS2005, VS2010 and MinGW (GCC 4.5.2) warnings 2011-07-19 12:27:07 +00:00
Vadim Pisarevsky
1badec0b2d eliminated opencv_extra_api.hpp (all the functionality is moved to the regular OpenCV headers) 2011-07-18 16:31:30 +00:00
Ilya Lysenkov
2c2d7d7bbd Fixed findCirclesGrid for the case of working with 'square' asymmetric patterns. 2011-07-13 13:05:41 +00:00
Vadim Pisarevsky
5bb8076d7d added centerPrincipalPoint=false to getOptimalNewCameraMatrix (ticket #1199) 2011-07-07 21:38:21 +00:00
Vadim Pisarevsky
f4dc4b43e4 fixed calibrateCamera API (ticket #1143) 2011-06-17 21:21:01 +00:00
Vadim Pisarevsky
6229af93d6 corrected estimateAffine3D parameter name: outliers=>inliers (ticket #1141) 2011-06-17 19:12:21 +00:00
Vladimir Dudnik
6e38b6aaed removed trailing backspaces, reduced number of warnings (under MSVC2010 x64) for size_t to int conversion, added handling of samples launch without parameters (should not have abnormal termination if there was no paramaters supplied) 2011-06-17 06:31:54 +00:00
Anatoly Baksheev
8f4c7db3f6 ~40 warnings under VS2008
HAVE_CONFIG_H -> HAVE_CVCONFIG_H
2011-06-11 17:24:09 +00:00
Vadim Pisarevsky
2d2b8a496e renamed "None()" to "noArray()" to avoid conflicts with X11 (ticket #1122) 2011-06-08 06:55:04 +00:00
Vadim Pisarevsky
0c877f62e9 replaced "const InputArray&" => "InputArray"; made InputArray and OutputArray references. added "None()" constant (no array()). 2011-06-06 14:51:27 +00:00
Ethan Rublee
5964234681 Quiet the errors from the circlesgrid pattern detector. These were really verbose. 2011-06-01 21:49:08 +00:00
Ilya Lysenkov
4875ffc953 Removed using of homogeneous coordinates in cvProjectPoints2 (ticket #845) 2011-06-01 13:10:14 +00:00
Ilya Lysenkov
aa3dada2fe Added support of the CV_64F depth to solvePnP (ticket #835) 2011-06-01 08:14:59 +00:00
Vadim Pisarevsky
bfbc70436d fixed crash in cv2.findHomography() (ticket #1094) 2011-05-26 20:33:55 +00:00
Vadim Pisarevsky
145a76faf4 fixed features2d (ORB) compile errors on Windows 2011-05-23 07:58:35 +00:00
Vadim Pisarevsky
57e5fabf8f Use INVALID_DISP_SCALED instead of INVALID_DISP in validateDisparity (ticket #1007) 2011-05-21 18:36:30 +00:00
Vadim Pisarevsky
23768b1826 replaced #include <some_opencv_hdr> with #include "some_opencv_hdr" (ticket #719) 2011-05-21 18:32:34 +00:00
Vadim Pisarevsky
2dc981aaa8 fixed bug with possible memory corruption in CvMat m = iarray.getMat(); expressions (ticket #1054) 2011-05-18 15:16:12 +00:00
Anatoly Baksheev
8ebff41c29 more warnings fixed. +some warnings in examples 2011-05-07 12:06:58 +00:00
Anatoly Baksheev
927dccb463 fixed compilation WITH_TBB 2011-05-07 11:37:56 +00:00
Anatoly Baksheev
1c18e5fef9 fixed ~300 warnings under windows (had to hack gtest a bit) 2011-05-06 21:45:48 +00:00
Ilya Lysenkov
a685be3ea9 Added extra argument for BlobDetector in findCirclesGrid 2011-05-06 14:02:07 +00:00
Ilya Lysenkov
dde9181117 Added a fast algorithm for the symmetric circles grid detection 2011-05-06 09:40:18 +00:00
Vadim Pisarevsky
f39db3f15a fixed problems indicated with ? marks 2011-05-05 13:31:54 +00:00
Vadim Pisarevsky
d02a0cab48 updated OpenCV version to 2.2.9; added missing cv::convertPointsHomogeneous for backward compatibility; fixed bug #952 2011-05-02 22:20:22 +00:00
Vadim Pisarevsky
23a9b7bb9c fixed several warnings from Xcode 4 LLVM compiler; fixed bug #920 2011-04-30 19:29:26 +00:00
Alexander Shishkov
8a79d414c0 fixed bug in solvePnPRansac test (thanks to Pieter-Jan Busschaert)
test was refactored
2011-04-29 15:00:37 +00:00
Vadim Pisarevsky
06b233bdc9 corrected the output euler angle on y axis in RQDecomp3x3 (thanks to Lasve for the patch) 2011-04-29 09:57:15 +00:00
Vadim Pisarevsky
d95bf478fe fixed corners emptiness check in drawChessboardCorners (thanks to thomask) 2011-04-27 06:59:59 +00:00
Vadim Pisarevsky
83efef4b9a added overloaded variants of findHomography & findFundamentalMat for backward compatibility 2011-04-23 12:49:14 +00:00
Vadim Pisarevsky
abeeb40d46 a big patch; use special proxy types (Input/OutputArray, Input/OutputArrayOfArrays) for passing in vectors, matrices etc. 2011-04-17 13:14:45 +00:00
Ilya Lysenkov
a811a08d0d Added checks for incorrect results in the circles grid pattern detection. 2011-04-15 17:24:07 +00:00
Ilya Lysenkov
37cd2b6f25 Implemented new algorithm for asymmetric circles pattern detection. Use flag CALIB_CB_CLUSTERING. 2011-04-15 15:33:11 +00:00
Alexander Shishkov
04461a53f1 added solvePnPRansac method 2011-03-05 00:18:49 +00:00
Anatoly Baksheev
047c7e0fd6 *applied patch from NVidia (nppstTraspose bug)
*fixed some warnings
*finished gpu test port to gtest framework
2011-02-18 12:23:18 +00:00
Vadim Pisarevsky
c5e3869c32 replaced alloca() (a.k.a. cvStackAlloc) with AutoBuffer or vector() everywhere. cvStackAlloc() is still defined, but we do not need alloca() anymore to compile and run OpenCV (fixes #889 and may be some others) 2011-02-18 10:36:18 +00:00
Vadim Pisarevsky
65a7f13af3 replaced alloca() (a.k.a. cvStackAlloc) with AutoBuffer or vector() everywhere. cvStackAlloc() is still defined, but we do not need alloca() anymore to compile and run OpenCV (fixes #889 and may be some others) 2011-02-18 10:29:57 +00:00
Marius Muja
7d42dbdd71 Removing 'using namespace std' from header files, closes bugs #730 and #846 2011-02-16 06:36:15 +00:00
Vadim Pisarevsky
061b49e0b2 reworked nearly all of the OpenCV tests (except for opencv_gpu tests) - they now use the Google Test engine. 2011-02-09 20:55:11 +00:00
Ilya Lysenkov
f8e9f65ea8 Added detection of asymmetric circles' pattern 2011-02-07 07:57:32 +00:00
Vadim Pisarevsky
e5d1b9eecd another attempt to fix findHomography 2010-12-27 10:00:26 +00:00
Ilya Lysenkov
2d5a984c28 Moved BlobDetector to features2d 2010-12-27 09:15:08 +00:00
Ilya Lysenkov
0bc1349335 Fixed some warnings under Windows 2010-12-21 12:11:28 +00:00
Ilya Lysenkov
351f6eeb97 Fixed compile errors under Windows 2010-12-21 11:39:12 +00:00
Ilya Lysenkov
c4a8ae5931 Used Poitn2f instead of KeyPoint 2010-12-21 10:08:57 +00:00
Ilya Lysenkov
964df356bf Added detection of cirlces' grid pattern 2010-12-21 09:24:36 +00:00
Vadim Pisarevsky
d14b744ea9 possibly improved findHomography accuracy (reported by Luca Del Tongo) 2010-12-10 21:02:13 +00:00
Vadim Pisarevsky
3fd07809c9 make cv::calibrateCamera, cv::stereoCalibrate and their C counterparts return the standard RMS error. 2010-11-30 10:27:34 +00:00
Vadim Pisarevsky
eea43c6a46 added CV_CALIB_RATIONAL_MODEL for better backward compatibility 2010-11-29 20:06:44 +00:00
Vadim Pisarevsky
9c0b300f52 added some protection against some singular cases in solvePnP/cvFindExtrinsicCameraParams2 2010-11-29 16:43:03 +00:00
Vadim Pisarevsky
cbe132cabe several small fixes; added overloaded variant of cv::drawChessboardCorners 2010-11-27 23:16:50 +00:00
Vadim Pisarevsky
a275e515af fixes bugs #624 and #625 (thanks to chaene!) 2010-11-22 15:32:18 +00:00
Vadim Pisarevsky
ea6b441052 extended cv::convertPointsHomogeneous to handle 4D input. corrected documentation 2010-11-18 22:03:20 +00:00
Vadim Pisarevsky
28de198c75 switched from 8-point kernel to 7-point kernel in the fundamental matrix estimator (fixes some corner cases; see ticket #434) 2010-11-12 21:07:41 +00:00
Vadim Pisarevsky
9130d5bae1 put extra check to cv::findChessboardCorners (ticket #648) 2010-11-09 15:45:56 +00:00
Vadim Pisarevsky
5a53d82e30 fixed most of the failures in opencv_test 2010-11-06 14:56:01 +00:00
Vadim Pisarevsky
83f6085773 added more helper macros to the function declarations, to assist the Python wrapper generator. Fixed memleak in Mat::operator()(Range,Range) and the related functions (Mat::row, Mat::col etc.) 2010-10-27 18:26:39 +00:00
Vadim Pisarevsky
0441e5772a undone experimental modifications in findExtrinsicCameraParams2. 2010-10-19 10:02:24 +00:00
Vadim Pisarevsky
51822f2072 possible fix for ticket 380 (should not hurt camera calibration engine, as the fix only affects non-planar objects) 2010-10-04 13:46:37 +00:00
Vadim Pisarevsky
46988ca633 some more fixes in rectify3 and 3calibration (corrected disparity ratio etc.) 2010-10-01 09:48:56 +00:00
Vadim Pisarevsky
70860df574 fixed detection of the checkerboards in some extreme cases (ticket #298) 2010-09-30 20:31:09 +00:00
Vadim Pisarevsky
6c3d45d9df fixed compile errors with MSVC2010 2010-09-24 10:52:21 +00:00
Vadim Pisarevsky
31dbefc865 added 3-camera rectification and 8-coeff distortion model 2010-09-07 15:38:48 +00:00
Vadim Pisarevsky
758e826d2e do not use WIN64/_WIN64 anymore - CMake did not set it anyway. Use WIN32 + __x86_64 or _M_X64 instead. Also, make VideoInput optional (WITH_VIDEOINPUT=ON/OFF) => now Mingw-dw2 can build OpenCV 2010-07-16 22:38:57 +00:00
Vadim Pisarevsky
f78a3b4cc1 updated 3rd party libs: CLapack 3.1.1.1 => 3.2.1, zlib 1.2.3 => 1.2.5, libpng 1.2.x => 1.4.3, libtiff 3.7.x => 3.9.4. fixed many 64-bit related VS2010 warnings 2010-07-16 12:54:53 +00:00
Vadim Pisarevsky
7ec4b59fac added #include "cvconfig.h" to make TBB and other 3rd party libs work correctly 2010-06-29 15:12:07 +00:00
Vadim Pisarevsky
bed63cc7c2 fixed the output disparity at the extreme cases (minDisparity or minDisparity + numOfDisp - 1). Thanks to Patrick Mihelich for the report (trac #395) 2010-06-29 10:01:55 +00:00
Vadim Pisarevsky
fa3c6821ac handle the non-detected board case in cv::drawChessboardCorners. 2010-06-13 16:12:50 +00:00
Vadim Pisarevsky
7a715aa792 accept default distortion coefficients (Mat() ~ (0,0,0,0,0)) 2010-06-10 23:37:46 +00:00
Vadim Pisarevsky
8a7b4760ac avoid one possible singularity in cvFindHomography 2010-06-06 17:21:40 +00:00
Vadim Pisarevsky
4b3771ce32 modified the sub-pixel disparity interpolation (by K. Konolige) 2010-05-26 20:35:09 +00:00
Vadim Pisarevsky
cadbe1bc79 fixed filterSpeckles call in StereoBM (thanks to Patrick Mihelich) 2010-05-19 18:42:08 +00:00
Stefano Fabri
3964367480 added missing header 2010-05-13 11:19:09 +00:00
Vadim Pisarevsky
4a073bd951 fixed build on Linux 2010-05-12 07:33:21 +00:00
Vadim Pisarevsky
127d6649a1 "atomic bomb" commit. Reorganized OpenCV directory structure 2010-05-11 17:44:00 +00:00