Commit Graph

543 Commits

Author SHA1 Message Date
Vincent Rabaud
6e15238dd9 - make sure the code compiles with gcc 4.6 2011-04-22 21:35:46 +00:00
Andrey Kamaev
8483b95256 Fixed #1004 2011-04-20 11:28:16 +00:00
Vadim Pisarevsky
e9a5bbc003 fixed ?? marks; fixed missing highlighting in some of the sections 2011-04-19 11:41:12 +00:00
Vladimir Dudnik
2057f2c452 fixed build issues related to changes in IPP calls. 2011-04-18 21:24:57 +00:00
Vadim Pisarevsky
dd45fe13d1 fixed OutputArray::create, which resolves several failures in opencv_test_core 2011-04-18 16:32:43 +00:00
Vadim Pisarevsky
94e09f24c7 fixed crash in test_core 2011-04-18 15:34:35 +00:00
Vadim Pisarevsky
9a991a2e10 fixed build problems on Windows 2011-04-18 15:14:32 +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
Andrey Kamaev
b906ad3108 Test system included into Android build 2011-04-11 14:47:06 +00:00
Elena Fedotova
c6a6d71dae Purpose: updated the core chapter 2011-04-10 21:25:46 +00:00
Elena Fedotova
77cdc746a5 Purpose: updated the core chapter 2011-04-10 20:54:37 +00:00
Elena Fedotova
cc1624b06a Purpose: updated the core chapter 2011-04-10 19:37:17 +00:00
Elena Fedotova
ef06694779 Purpose: updated the core chapter 2011-04-07 20:29:59 +00:00
Vincent Rabaud
1dff306872 - make sure the code compiles under gcc-4.6 2011-04-06 22:00:09 +00:00
Elena Fedotova
25fc046a7a Purpose: updated the core chapter 2011-04-03 22:10:32 +00:00
Vladislav Vinogradov
d888b81052 fixed gpu docs (broken links, missing description, etc) 2011-03-23 10:56:20 +00:00
Vincent Rabaud
578ca872e4 - add support for the popcnt instruction (useful for the Hamming distance, soon to come in BRIEF and FLANN) 2011-03-13 22:51:33 +00:00
Vadim Pisarevsky
73f589e8a5 further docs cleanup 2011-03-08 22:22:24 +00:00
Vadim Pisarevsky
5c3447c125 added pictures for OpenCV 2.x reference manual; fixed some build problems and done some more cleanup work 2011-03-05 21:26:13 +00:00
Vadim Pisarevsky
f025e4739a some more doc cleanup 2011-03-03 07:29:55 +00:00
Vadim Pisarevsky
4bb893aa9f the first round of cleaning up the RST docs 2011-02-28 21:26:43 +00:00
Vladimir Dudnik
4f83a06358 added IPP dot product functions. Only 32f data type supported for now (there are accuracy issues in 8u/16s/16u/32s functions which will be fixed in IPP 7.0.3) 2011-02-27 18:12:30 +00:00
Vadim Pisarevsky
24ccbccf63 cleaned RST formatting a bit 2011-02-26 11:05:10 +00:00
Vadim Pisarevsky
371aa08006 OpenCV reference manual (C++ part only for now) is now produced directly from RST, not from TeX. 2011-02-22 20:43:26 +00:00
Vadim Pisarevsky
916690a674 temporily excluded cv::Algorithm 2011-02-18 12:17:26 +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
Vadim Pisarevsky
d9ab1d2b92 fixed build on Windows with MSVC2010 2011-02-09 22:45:45 +00:00
Vadim Pisarevsky
77529b1fa6 fixed bugs in CartToPolarToCart test 2011-02-09 21:37:33 +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
Valentina Kustikova
d03b89f163 Parallel version of Latent SVM. 2011-02-08 07:34:25 +00:00
Vladimir Dudnik
c987b9f180 added IPP Sobel and Sharr filters. Also some minor changes. 2011-01-19 23:27:30 +00:00
Vadim Pisarevsky
be4251c143 fixed compile problems when Makefiles are used 2011-01-11 12:14:31 +00:00
Vadim Pisarevsky
d2c2c07ad2 updated the new arithmetic tests 2011-01-11 11:55:58 +00:00
Vladimir Dudnik
a961cfe135 fixed mistake in integration of IPP Sub functions. Added IPP min/max/absdiff/and/or/xor functions. 2011-01-10 00:43:14 +00:00
Vladimir Dudnik
a34f044d19 add IPP Sub operations to arithm.cpp for 8u, 16u, 16s, 32s, 32f, 64f data types. 2011-01-08 21:24:31 +00:00
Vladimir Dudnik
abdb139096 add IPP Add operations to arithm.cpp for 8u, 16u, 16s, 32s, 32f, 64f data types.
Added print of IPP info in test log files
2011-01-07 00:26:09 +00:00
Vladimir Dudnik
6309b2d08d added OpenCVFindIPP.cmake script, which will look for IPP installation at CMake configuration time. First, IPPROOT environment variable will be tested, if not found script will look at default install places.
The script should support IPP from 5.3 up to 7.x versions (although tested on Windows for IPP 6.1 and IPP 7.0 versions only)

Preliminary optimization of HOG with IPP added too. Not yet quite efficient, code for cpu branch should be redesigned in order to have better performance.
2010-12-31 16:45:18 +00:00
Vadim Pisarevsky
2dd0e85264 fixed some build problems 2010-12-28 21:15:58 +00:00
Vadim Pisarevsky
97d9a672cc moved gtest to modules; added some gtest-based tests 2010-12-28 16:24:23 +00:00
Vadim Pisarevsky
a379d011fd fixed MatConstIterator<> (ticket #776) 2010-12-26 22:18:30 +00:00
Vladimir Dudnik
c9d20500ce cosmetic changes, removed trailing spaces. Added ippGetCpuClocks if IPP is available (important for 64-bit build) 2010-12-23 23:00:04 +00:00
Vladimir Dudnik
50e5456874 cosmetic changes 2010-12-23 22:56:28 +00:00
Alexey Spizhevoy
a6d9cce500 added CUFFT errors handling into GPU module 2010-12-22 08:03:53 +00:00
Vadim Pisarevsky
8511b69635 fixed Mat::Mat(Vec|Matx|vector) constructor (ticket #747) 2010-12-11 18:32:11 +00:00
Vadim Pisarevsky
da293ee3d9 SSE2 optimization for Bayer->RGB; added Bayer->Gray with SSE2 optimization; corrected some bugs noted in the yahoogroups forum 2010-12-10 19:06:38 +00:00
Vadim Pisarevsky
e5564b4388 improved accuracy of determinant(), invert() and solve() on 3x3 matrices (ticket #749) 2010-12-09 20:54:04 +00:00
Vadim Pisarevsky
e6aba3e51c turn off SSE2 optimization in cv::exp & cv::log in the case of GCC <=4.1 (not no Mac, where a patched GCC 4.0 is used) 2010-12-06 08:49:49 +00:00
Vadim Pisarevsky
9d8644dee0 turn off SSE2 optimization in cv::exp & cv::log in the case of VS2005 or earlier versions, because of missing _mm_cast* intrinsics (ticket #729) 2010-12-05 02:26:04 +00:00
Vadim Pisarevsky
0de9c9fd3c opencv_zlib renamed back to zlib; make static libs work on Windows 2010-12-05 01:19:36 +00:00
Vadim Pisarevsky
8b4cb1d99c make OpenCVConfig.cmake usable in the case of static libs 2010-12-04 23:02:36 +00:00
Vadim Pisarevsky
a7a5dd051a updated version number; removed unnecessary index.html and ChangeLog.htm 2010-12-04 19:21:45 +00:00
Vadim Pisarevsky
56d4f875b4 make watershed demo work correctly 2010-12-04 15:35:34 +00:00
Vadim Pisarevsky
9948ed88b0 fixed crash in cvDrawContours when abs(maxLevel) is too big 2010-12-04 15:31:42 +00:00
Vadim Pisarevsky
84aed5d360 fixed unresolved RotatedRect::boundingRect() error (ticket #725) 2010-12-04 11:40:14 +00:00
Vadim Pisarevsky
a937d9d43c unified the coordinate interpretation in RotatedRect (ticket #425) 2010-11-29 18:14:08 +00:00
Vadim Pisarevsky
fa1d85bc14 removed obsolete headers from opencv.hpp, fixed 2 gcc warnings and bug in SVBackSubst(). 2010-11-29 15:31:25 +00:00
Vadim Pisarevsky
a3dfba36a1 fixed crashes in camshiftdemo sample 2010-11-28 19:44:01 +00:00
Vadim Pisarevsky
cbe132cabe several small fixes; added overloaded variant of cv::drawChessboardCorners 2010-11-27 23:16:50 +00:00
Vadim Pisarevsky
8967a1289a fixed problem with missing minMaxIdx (ticket #703) 2010-11-25 18:32:40 +00:00
Vadim Pisarevsky
d366c0b2fa fixed canny test; fixed mhi-global test & implementation (hopefully, for the last time); added sse 4.1 & 4.2 support (not working in Xcode for some reason); moved splineInterpolation to color.cpp; fixed a few bugs in documentation 2010-11-24 09:46:46 +00:00
Vadim Pisarevsky
f5e5b677c9 added hconcat & vconcat functions for joining matrices; moved some inline functions out of the headers; fixed several bugs in documentation; removed MatND from docs 2010-11-23 16:39:20 +00:00
Vadim Pisarevsky
3a8df6034f fixes Mat::empty() and Mat::create() in the case of zero sizes (ticket #691) 2010-11-20 13:16:16 +00:00
Vadim Pisarevsky
de4f1aeb06 fixed some GCC 4.4 warnings 2010-11-20 12:05:28 +00:00
Vadim Pisarevsky
fd7b058b8b DataType::generic renamed to DataType::generic_type (ticket #681) 2010-11-18 10:54:12 +00:00
Vadim Pisarevsky
9b8c712a81 added operator != for some basic structures (ticket #678) 2010-11-16 16:58:40 +00:00
Anatoly Baksheev
edff674105 added default detector for winSize(64,128) for hog on gpu 2010-11-16 12:33:19 +00:00
Vadim Pisarevsky
08e9d85582 removed cv prefix 2010-11-15 20:09:55 +00:00
Vadim Pisarevsky
08b7855edc extended out << mat/vec operators; added opencv license 2010-11-15 17:40:57 +00:00
Anatoly Baksheev
f2df784830 fixed error reporting in GPU module (exceptions in destructors, etc) 2010-11-15 16:22:52 +00:00
Anatoly Baksheev
d7d0754f38 fixed compilation error under nvcc 2010-11-15 13:51:48 +00:00
Ethan Rublee
d84b970bf2 adding the Brief descriptor, associated hamming distance functors for bruteforce matching. Also adding cout << cv::Mat functions in core. 2010-11-14 06:27:48 +00:00
Vadim Pisarevsky
4065f17aa0 fixed uninitialized variable use in writeGraph (reported by valgrind when running opencv_test_core) 2010-11-13 22:00:10 +00:00
Vadim Pisarevsky
e15a2ea95a fixed remap with transparent border (ticket #582) 2010-11-10 21:14:57 +00:00
Vadim Pisarevsky
728f0eb2f5 fixed infinite loop in FileStorage::open when reading incomplete XML's (ticket #663) 2010-11-10 20:11:07 +00:00
Vadim Pisarevsky
402ef4c9cb correct 2 bugs in cvSolveCubic (linear and quadratic cases: tickets #525 and #364) 2010-11-07 19:23:48 +00:00
Vadim Pisarevsky
018aba7507 a few small fixes in Matx operators 2010-11-06 22:10:21 +00:00
Vadim Pisarevsky
d8ace43753 fixed some more tests on Windows; changed inheritance Matx -> Vec to Vec -> Matx 2010-11-06 21:51:21 +00:00
Vadim Pisarevsky
5a53d82e30 fixed most of the failures in opencv_test 2010-11-06 14:56:01 +00:00
Vadim Pisarevsky
ced8192174 fixed several GCC warnings; fixed crash in kmeans test (because of cv::swap(Mat&a, Mat&b)) (ticket #616) 2010-11-04 15:59:10 +00:00
Vadim Pisarevsky
5b6a755719 almost finished Python wrappers 2010-11-02 17:58:22 +00:00
Vadim Pisarevsky
893fb90b87 extended Python bindings; not merged into cv.cpp yet; and many of the helper functions, like pyopencv_to_*, pyopencv_from_* etc. are still missing 2010-10-29 13:09:49 +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
Stefano Fabri
4c29ffecc0 Reverting, release beahviour was changed. Investigating on deallocate() issue 2010-10-26 13:55:16 +00:00
Stefano Fabri
e320e4e69c Linking doesn't find deallocate() 2010-10-26 13:42:25 +00:00
Vadim Pisarevsky
969855d72a fixed MatConstIterator::operator *() (the bug caused "operations" test failure; ticket #613) 2010-10-22 11:47:11 +00:00
Vadim Pisarevsky
ebb9c61546 fixed bug with Mat::dataend initialization. Now morph-ex test passes; Also fixed CV_Assert() implementation 2010-10-21 21:07:11 +00:00
Vadim Pisarevsky
ccb1e5fac0 added assert to MatConstIterator::pos() 2010-10-21 15:47:49 +00:00
Vadim Pisarevsky
2591988414 ok, try to handle matrices with size (0,0) 2010-10-21 13:19:15 +00:00
Vadim Pisarevsky
4f9a72eaa7 fixed small matrix inversion using Cholesky algorithm (ticket #536) 2010-10-21 12:07:49 +00:00
Victor Erukhimov
8ff0d754ac Adding back MatConstIterator_::pos implementation 2010-10-21 03:47:57 +00:00
Vadim Pisarevsky
be016a75df some fixes due to the changed policy in DataType & DataDepth handling 2010-10-20 17:43:46 +00:00
Vadim Pisarevsky
f7bebe8270 fixed several warnings; modified size comparison: m1.size() == m2.size() => m1.size == m2.size 2010-10-20 12:33:57 +00:00
Vadim Pisarevsky
8af83e6d37 fixed a few bugs in: Mat::reshape, Mat(CvMat*) constructor, element access, copying nd array etc. 2010-10-19 11:57:37 +00:00
Maria Dimashova
a594f01a3e fixed cast of Mat to vector<Mat> (leads to compile error now) 2010-10-18 11:06:44 +00:00
Vadim Pisarevsky
02885b8b49 added Mat::push_back, pop_back and related operations; enabled reading/writing/creating/copying matrices with zero dimensions. 2010-10-18 08:51:46 +00:00
Vadim Pisarevsky
1b1eab8e67 added helper macros to the function declarations 2010-10-16 20:34:34 +00:00
Marius Muja
16b1f61c83 Updated FLANN to version 1.5 2010-10-12 19:47:50 +00:00
Vadim Pisarevsky
541441e85b united cv::Mat and cv::MatND 2010-10-12 12:31:40 +00:00
Anatoly Baksheev
f8a14a0854 fixed warnings under VS2010 about 'implicit conversion from double to float'. 2010-10-04 14:52:13 +00:00
Vadim Pisarevsky
12656df19a much faster exp() and log() with SSE2 2010-10-03 22:45:04 +00:00
Anatoly Baksheev
60e572bbcf fixed gpu morphology: now kernel in gpu is passed to npp functions.
warnings in cxcore
added graphcut wrapper
2010-09-28 08:45:44 +00:00
Vadim Pisarevsky
e812a02c0b remove #include <Eigen/Core> from eigen.hpp 2010-09-23 20:03:47 +00:00
Vadim Pisarevsky
1a2fee0d56 include Eigen2/3 headers optionally, for greater flexibility 2010-09-22 20:45:01 +00:00
Vadim Pisarevsky
d72d11d09d improved matrix expressions efficiency in some cases & simplified the code 2010-09-22 13:07:51 +00:00
Ethan Rublee
8ee50c422b adding some small changes to support android build,
mainly cmake stuff, but in persistance the wcstombs
is not supported on android, and in
sift.cpp there was and ifdef that affected arm and this
causes undefined symbols on android.
2010-09-22 02:16:33 +00:00
Vadim Pisarevsky
ec314cf232 moved the matrix expressions from mat.hpp to matop.cpp. That should improve build times 2010-09-21 15:15:44 +00:00
Anatoly Baksheev
1387bfcde0 added GPU implementation of morphology functions (using NPP) and tests for it.
added npp_error function
added check_and_treat_gpu_exception function for tests_gpu
2010-09-17 15:28:59 +00:00
Vadim Pisarevsky
bf94db5b16 fixed 2 bugs in the recently modified Lapack functions 2010-08-31 12:39:00 +00:00
Vadim Pisarevsky
eb6994f58a fixed Mat(const Matx&) constructor; added SVD(Matx) 2010-08-30 18:05:05 +00:00
Vadim Pisarevsky
3bd00085f7 made MatConstIterator STL compliant 2010-07-29 13:52:22 +00:00
Vadim Pisarevsky
808190c02e fixed LineIterator constructor in order to make LineIterator::pos() work properly (#408) 2010-07-29 13:26:01 +00:00
Vadim Pisarevsky
70a2c8f50a added conversion operators Mat->vector<T>, Mat->Vec<T,n>, Mat->Matx<T,m,n> 2010-07-29 06:51:19 +00:00
Vadim Pisarevsky
4c591ca397 fixed Mat::Mat(const IplImage*, bool) constructor (ticket #487). fixed the bayer demosaicing part in the new cv::cvtColor implementation 2010-07-27 17:41:32 +00:00
Vadim Pisarevsky
2f2f06b925 rewrote color conversion functions; added sRGB<->CIE Lab/Luv conversion; added RGB<->YUV conversion; improved [s]RGB->Lab conversion speed 2010-07-27 14:10:14 +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
992eace79a fixed some warnings from xcode 2010-07-16 18:28:46 +00:00
Vadim Pisarevsky
396aa53e96 fixed VS preprocessor condition to include pmmintrin.h (which is available in VS2008 and later versions, but not in VS2005) 2010-07-16 14:28:50 +00:00
Vadim Pisarevsky
670fff5f42 added workaround for strange tmpnam() output from VS2010. turned off optimization for DCT & DFT on Win64 for VS200x (VS2010 builds it fine) 2010-07-16 14:16:18 +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
Anatoly Baksheev
2c84a66ec7 added support to build without cuda. 2010-07-15 13:36:00 +00:00
Vadim Pisarevsky
da02688429 improved accuracy of the matrix determinant and matrix inversion functions (trac #431) 2010-07-13 14:17:49 +00:00
Yannick Verdie
c3eb7881f1 New functions with QT GUI:
- 3 new points mostly done:
      - OpenGL support enabled (windows are rendered using GPU)
      - Save current screen (with overlay and so on...) with shortcut CTRL+S
      - Text rendering (with any system font, and possibility to set the style - normal, italic,... - the weight - normal, bold, ... - the color, the spacing between letters, and so on...)
2010-07-12 11:04:26 +00:00
Vadim Pisarevsky
ba5eb93a53 rewrote normal RNG function to workaround the bug in gcc 3.4 (ticket #449) 2010-07-12 08:46:00 +00:00
Yannick Verdie
c685ca0e99 Fixed bug during compilation:
"error: explicit template specialization cannot have a storage class"
2010-07-07 18:46:18 +00:00
Vadim Pisarevsky
796553d051 added some quaternion operations on Scalar's. 2010-07-07 15:25:42 +00:00
Vadim Pisarevsky
9cf319d504 fixed some MSVC2008 compiler errors & warnings 2010-07-05 08:11:52 +00:00
Vadim Pisarevsky
6e6559d207 fixed test crashes after CV_CN_MAX increase. 2010-07-03 13:38:06 +00:00
Vadim Pisarevsky
60acd91ce1 added Eigen2 support; fixed compile errors on Ubuntu 10.04 2010-06-29 15:49:15 +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
10b5a51731 added "small matrix" class Matx<T, m, n> 2010-06-29 14:52:43 +00:00
Vadim Pisarevsky
345a57b616 fixed matrix comma initializer for shorter notation 2010-06-09 18:17:50 +00:00
Vadim Pisarevsky
d3ae1d19d8 removed internal-use cvconfig.h from core/internal.hpp (thanks to iwamatsu) 2010-06-01 15:52:03 +00:00
Vadim Pisarevsky
4c49c5b219 fixed repeated calculations in cvsolve (thanks to denisstack for the fix) 2010-06-01 15:44:02 +00:00
Vadim Pisarevsky
e5872cd8bb now C++ classes can be read/written with cvRead/cvWrite/cvLoad/cvSave. Tested on HOGDescriptor 2010-06-01 13:53:20 +00:00
Jose Luis Blanco
5d3ad699a6 fixed duplicated definition warning 2010-05-31 08:15:10 +00:00
Victor Erukhimov
c4631573a4 cv::cvflann -> cv::flann 2010-05-26 19:50:20 +00:00
Vadim Pisarevsky
266c4642ea doxygenated opencv_video & opencv_calib3d modules (C++ part only) 2010-05-25 15:59:48 +00:00
Vadim Pisarevsky
4632d65889 doxygenated core and imgproc modules (C++ API only) 2010-05-25 14:57:10 +00:00
Vadim Pisarevsky
b94e09bfeb renamed cv::flann to cv::cvflann to avoid name conflicts 2010-05-21 20:37:05 +00:00
Vadim Pisarevsky
b34aaace79 updated OpenCV version because of the recent reorganization 2010-05-18 16:42:35 +00:00
Vadim Pisarevsky
47c3e79423 added Doxygen-based documentation (draft version for now) 2010-05-18 15:41:28 +00:00
Vadim Pisarevsky
127d6649a1 "atomic bomb" commit. Reorganized OpenCV directory structure 2010-05-11 17:44:00 +00:00