Commit Graph

309 Commits

Author SHA1 Message Date
Vadim Pisarevsky
ddd8f897fe fixed drawing test 2011-06-02 12:45:00 +00:00
Vadim Pisarevsky
f2f8fc14b0 proper fix for reduce with op=CV_REDUCE_AVG and ddepth==CV_8U 2011-06-01 13:44:09 +00:00
Ilya Lysenkov
29b45e70bd Fixed cluster centers returning in cvKMeans2 (ticket #706) 2011-06-01 12:06:39 +00:00
Alexander Shishkov
b19434513b reverted the floating-point number formatting (exception in ml tests) 2011-05-31 21:42:49 +00:00
Alexander Shishkov
80dfdf8ff7 removed ddepth from matrix (after Vadim's commit, it generates problem with core and ml tests)
returned the new floating-point number formatting
2011-05-31 21:14:42 +00:00
Vadim Pisarevsky
b14ca4299a reverted the floating-point number formatting 2011-05-31 15:25:50 +00:00
Alexander Shishkov
eae7921da6 fixed build on GNU/Hurd (ticket #761) 2011-05-31 15:22:22 +00:00
Vadim Pisarevsky
6de72ea8ee resolved tickets #904 (nicer floating-point formatting) and #816 (reduce with CV_REDUCE_AVG on 8-bit arrays) 2011-05-31 14:01:21 +00:00
Alexander Shishkov
6aabf72bc5 removed OPENCV_BUILD_SHARED_LIB in favor of BUILD_SHARED_LIBS 2011-05-31 13:17:59 +00:00
Kirill Kornyakov
78d821114a Update CommandLineParser class: move method's definition from header to source 2011-05-30 19:20:57 +00:00
Vadim Pisarevsky
60a0ebbd6c added optional encoding parameter to cvOpenFileStorage() and FileStorage::open() (ticket #976). moved some implementation parts of CommandLineParser to cmdparser.cpp. 2011-05-30 12:36:07 +00:00
Kirill Kornyakov
fe279279e6 Update CommandLineParser class 2011-05-28 06:55:41 +00:00
Vadim Pisarevsky
3a1f24e74c fixed mat.push_back(mat) (ticket #1091) 2011-05-27 20:32:48 +00:00
Vadim Pisarevsky
309bb171b2 do not use system is<alpha|alnum|space|...>, because of the different implementations (and in OpenCV we assume english names of the identifiers etc) 2011-05-24 13:34:25 +00:00
Vadim Pisarevsky
0bf00036a8 improved jSVD accuracy 2011-05-24 13:25:26 +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
Kirill Kornyakov
aadb1669a7 some samples updated according to new CommandLineParser class 2011-05-21 14:09:03 +00:00
Vadim Pisarevsky
fa0c8d954e allow lower-case utf-8 encoding specification as well 2011-05-21 09:29:21 +00:00
Vadim Pisarevsky
6d05622a5f one more fix with encoding when reading/writing XMLs 2011-05-21 09:03:04 +00:00
Vadim Pisarevsky
856c717783 fixed reading/writing of utf-8 strings 2011-05-20 20:24:34 +00:00
Vadim Pisarevsky
b0598fcf36 removed debug print statement from cvMixChannels() 2011-05-17 15:55:40 +00:00
Vadim Pisarevsky
62569f6926 fixed a few warnings on Windows; fixed critical bugs in cvMixChannels and AutoBuffer<>. 2011-05-17 15:44:01 +00:00
Vadim Pisarevsky
3d154c9dde fix build problems on Windows 2011-05-17 13:32:42 +00:00
Kirill Kornyakov
94760a5f2b command line parser added. Leonid Beynenson is original contributor of the class. Class will be used in samples for convenient (and unified) work with command arguments. 2011-05-15 19:25:00 +00:00
Vladislav Vinogradov
3c2d7b951a fixed LUT (ticket #1057) 2011-05-11 05:32:00 +00:00
Vladislav Vinogradov
58e26313dd fixed bug in cv::LUT (multi-channel source array and single-channel table)
added missing cudaSafeCall
2011-05-10 06:11:03 +00:00
Vadim Pisarevsky
62b966460d do not include DLLMain into core when it is a static library (thanks to aglinarth for the patch) 2011-05-06 12:06:20 +00:00
Vadim Pisarevsky
c82252035f fixed bug with misaligned data access (on Windows & Linux) 2011-04-27 13:28:49 +00:00
Vadim Pisarevsky
4b2f9e78fc fixed repeated allocation of RNG on each theRNG() call (thanks to barjenbr for the patch) 2011-04-26 12:20:42 +00:00
Vadim Pisarevsky
9ac3a35175 do not use Lapack anymore 2011-04-25 21:44:22 +00:00
Vincent Rabaud
6e15238dd9 - make sure the code compiles with gcc 4.6 2011-04-22 21:35:46 +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
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
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
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
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
Vladimir Dudnik
c987b9f180 added IPP Sobel and Sharr filters. Also some minor changes. 2011-01-19 23:27:30 +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
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
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
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
a3dfba36a1 fixed crashes in camshiftdemo sample 2010-11-28 19:44:01 +00:00
Vadim Pisarevsky
8967a1289a fixed problem with missing minMaxIdx (ticket #703) 2010-11-25 18:32:40 +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
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
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
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
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
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
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
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
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
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
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
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
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
808190c02e fixed LineIterator constructor in order to make LineIterator::pos() work properly (#408) 2010-07-29 13:26:01 +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
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
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
Vadim Pisarevsky
da02688429 improved accuracy of the matrix determinant and matrix inversion functions (trac #431) 2010-07-13 14:17:49 +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
Vadim Pisarevsky
6e6559d207 fixed test crashes after CV_CN_MAX increase. 2010-07-03 13:38:06 +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
4c49c5b219 fixed repeated calculations in cvsolve (thanks to denisstack for the fix) 2010-06-01 15:44:02 +00:00
Victor Erukhimov
c4631573a4 cv::cvflann -> cv::flann 2010-05-26 19:50:20 +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
127d6649a1 "atomic bomb" commit. Reorganized OpenCV directory structure 2010-05-11 17:44:00 +00:00