Commit Graph

25 Commits

Author SHA1 Message Date
Artanis
993522598b Add implementations for Mat::zeros() and Mat::ones()
In class Mat, "static MatExpr Mat::zeros(int ndims, const int* sz, int
type)" and "static MatExpr Mat::ones(int ndims, const int* sz, int
type)" are declared but never implemented. That means we can see their
manuals from
"http://docs.opencv.org/modules/core/doc/basic_structures.html" but we
can't use them. Here I tried to finish their implementation.
I have also changed MatOp_Initializer::assign to make it support
multi-dimension Mat.
Test cases are added in test_math.cpp as well.
2013-03-01 13:18:44 +08:00
Andrey Kamaev
20c5a8788d Weaken acceptance criteria in phase test 2013-01-10 17:12:14 +04:00
Andrey Kamaev
9719ea93b6 Merge branch 2.4 2012-11-13 19:54:48 +04:00
Andrey Kamaev
0a4ed2bc01 Fix Windows build warnings 2012-11-09 10:10:04 +04:00
Vadim Pisarevsky
9163471987 improved accuracy of 3x3 invert on poorly-conditioned matrices (bug #2525) 2012-11-08 14:09:43 +04:00
Maria Dimashova
78dd1893bb added tests for cv::merge, cv::split, cv::phase 2012-10-21 12:22:39 +04:00
OpenCV Buildbot
81f826db2b Normalize line endings and whitespace 2012-10-17 15:57:49 +04:00
OpenCV Buildbot
04384a71e4 Normalize line endings and whitespace 2012-10-17 15:32:23 +04:00
Vadim Pisarevsky
d5a0088bbe merged 2.4 into trunk 2012-04-30 14:33:52 +00:00
Vadim Pisarevsky
53104e6f43 decreased the number of tests in Core_Eigen, decreased the maximum matrix size in Core_SVD; now those tests take less time to complete 2012-04-28 11:00:34 +00:00
Vadim Pisarevsky
2fd1e2ea57 merged all the latest changes from 2.4 to trunk 2012-04-13 21:50:59 +00:00
Andrey Kamaev
97835a8f32 Fixed 9 more build warnings 2012-04-12 16:21:08 +00:00
Marina Kolpakova
c0f6e219bb calcCovarMatrix cupport fot std::vectors of cv::Mat (#494) 2012-04-12 04:21:32 +00:00
Andrey Pavlenko
7e06b18144 workaround for the 'Bug #1784 (cvFloor/cvCeil)'; typos fixed; two more tests for checkRange 2012-04-10 09:48:06 +00:00
Andrey Pavlenko
dccfd79da8 #1783: test and fix for the bug 2012-04-10 08:22:33 +00:00
Vadim Pisarevsky
61c7c441b9 handle single-point sets in kmeans properly 2012-04-06 13:22:08 +00:00
Vadim Pisarevsky
c6a27b3d2f probably, ultimately fixed the problem of empty clusters in kmeans; added test for singular kmeans cases 2012-04-05 13:01:34 +00:00
Marina Kolpakova
13c7222238 minor refactoring 2012-03-28 20:50:02 +00:00
Marina Kolpakova
32b9bc1d00 fixed bug for #1496 and correctness tests for function CheckRange 2012-03-28 20:09:13 +00:00
Vadim Pisarevsky
846e37ded5 fixed many warnings from GCC 4.6.1 2012-03-17 09:22:31 +00:00
Vadim Pisarevsky
72c23e7bbb fixed most of test_core failures (except for SVD) 2011-12-05 22:58:27 +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
Anatoly Baksheev
1c18e5fef9 fixed ~300 warnings under windows (had to hack gtest a bit) 2011-05-06 21:45:48 +00:00
Vadim Pisarevsky
9ac3a35175 do not use Lapack anymore 2011-04-25 21:44:22 +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