Commit Graph

194 Commits

Author SHA1 Message Date
itsyplen
6d3e92517c new version of command line parser 2011-08-04 16:09:04 +00:00
Andrey Kamaev
ff9da914ec Fixed bug in checkRange - integer Mats were always in range 2011-08-04 06:17:23 +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
29bf7384dc fixed useOptimized(); added checkHardwareSupport description (ticket #1258) 2011-08-03 08:17:58 +00:00
Andrey Kamaev
2a6dd2e807 Fixed Android build 2011-08-02 14:56:51 +00:00
Vadim Pisarevsky
ce2f4c6a4d propagated fix for EXR from 2.3 branch to trunk 2011-08-02 12:55:05 +00:00
Vadim Pisarevsky
f0b3cb1845 added getNumberOfCPUs() function 2011-08-02 12:42:58 +00:00
Andrey Kamaev
3b558508be TEGRA optimized add8u, sub8u and logical 8u operations 2011-07-27 13:36:53 +00:00
Vadim Pisarevsky
d8417af086 fixed and improving formatting in opencv2refman.pdf. added support for n-channel mask in Mat::copyTo() and n-channel images in cv::compare(). fixed 2 compile warnings in opencv_python. 2011-07-24 10:34:14 +00:00
Vadim Pisarevsky
216fbc004a fixed printing Mx0 matrices (ticket #1247) 2011-07-22 12:15:22 +00:00
Maria Dimashova
0d7a37c1e7 added an ability to make push_back to the empty matrix 2011-07-21 09:38:25 +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
Vadim Pisarevsky
12715c210d fixed mixed-type arithmetic operations (ticket #1224) 2011-07-14 14:54:05 +00:00
Vadim Pisarevsky
cc9a1bb62f propagated some more fixes from 2.3 branch to the trunk 2011-06-30 12:06:26 +00:00
Vadim Pisarevsky
b204e73d9a propagated some more fixes from 2.3 branch to the trunk 2011-06-29 22:06:42 +00:00
Vadim Pisarevsky
0e14fef96e fixed warnings in gbt; added insertChannel() and extractChannel(); made the code "rand{u|n}(arr, <number>, <number>)" work properly. 2011-06-18 10:56:49 +00:00
Vadim Pisarevsky
9b6d8c3963 added reduce(..., CV_REDUCE_MIN/CV_REDUCE_MAX, ...) for 16u/16s (ticket #1145) 2011-06-17 19:03:26 +00:00
Vadim Pisarevsky
48a5599c5e fixed potentially incorrect memory access in cv::transform 2011-06-17 16:14:47 +00:00
Vadim Pisarevsky
22970b8270 fixed multiple GCC warnings on Ubuntu 11.04 2011-06-14 12:03:34 +00:00
Vadim Pisarevsky
6f26c55fe3 fixed ticket #983 2011-06-13 21:23:42 +00:00
Vadim Pisarevsky
6407093463 extended Mat::setTo() to support multi-channel arrays; fixed bug #1095 2011-06-13 20:56:27 +00:00
Alexander Shishkov
b081f8bfd6 changed uint to unsigned int 2011-06-13 19:06:32 +00:00
Alexander Shishkov
4cc167c5d0 fixed problem with norm in opencv_test_core 2011-06-13 18:03:33 +00:00
Vadim Pisarevsky
9df999154c fixed a few warnings and bugs, including ticket #1079 2011-06-12 20:29:50 +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
0070ce20af next attempt to fix ticket #1121 2011-06-10 06:53:34 +00:00
Vadim Pisarevsky
3b9e752be7 some more core functions documented + minor fixes and rearrangements 2011-06-08 21:35:19 +00:00
Vadim Pisarevsky
f6b3754f34 handle empty YAML's correctly (ticket #1127) 2011-06-08 16:13:11 +00:00
itsyplen
a2f5884159 Specialization for 'get' method with bool type was added, help and constructor were updated too 2011-06-08 10:18:56 +00:00
Vadim Pisarevsky
2d2b8a496e renamed "None()" to "noArray()" to avoid conflicts with X11 (ticket #1122) 2011-06-08 06:55:04 +00:00
Kirill Kornyakov
aad9b3219c Notification messages about bad parameters in command line were added in CommandLineParser. Update sample, using parser 2011-06-08 06:45:21 +00:00
Kirill Kornyakov
65ed270790 class CommandLineParser was updated according new requirements 2011-06-07 10:30:40 +00:00
Vadim Pisarevsky
fcd2a0c3d3 fixed VS2010 compile warnings and errors 2011-06-06 15:15:30 +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
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