Vladislav Sovrasov
dfe4519c07
Add QR decomposition to HAL
8 years ago
LaurentBerger
b75bac7975
Solve Issue 7063
...
consequences of changes
accuracy test
Solve issue 7063
8 years ago
Alexander Alekhin
3844ee780c
build: fix compiler warnings (GCC 5.3.1)
9 years ago
Maksim Shabunin
1e667de1f3
HAL math interfaces: fastAtan2, magnitude, sqrt, invSqrt, log, exp
9 years ago
Alexander Alekhin
b26580cc7b
checkRange fixes
...
1) fix multichannel support
2) remove useless bad_value, read value from original Mat directly
3) add more tests
4) fix docs for cvCeil and checkRange
9 years ago
hoangviet1985
3e96b724c2
squash
9 years ago
hoangviet1985
b96def885f
squash
9 years ago
Vladislav Vinogradov
d5e6503fe5
fix signed/unsigned comparison warning in core/test/test_math.cpp
9 years ago
Viet Dinh
68bcff26fb
fix solveCubic
...
The original solution did not handle correctly when delta = 0,
resulting as nan errors. I also wrote a test case to test solving
equation x^3 = 0 after fixing.
9 years ago
Viet Dinh
cfd5caf29d
deal with type casting issues
9 years ago
Viet Dinh
09b0193186
even more correct
...
calculates cube root of complex number to give more correct results.
9 years ago
Viet Dinh
537a978dcf
update test_math.cpp
9 years ago
Vadim Pisarevsky
73f760fdf0
some more compile warnings fixed
10 years ago
Vadim Pisarevsky
9fbd1d68ad
refactored div & pow funcs; added tests for special cases in pow() function.
...
fixed http://code.opencv.org/issues/3935
possibly fixed http://code.opencv.org/issues/3594
10 years ago
Adil Ibragimov
8a4a1bb018
Several type of formal refactoring:
...
1. someMatrix.data -> someMatrix.prt()
2. someMatrix.data + someMatrix.step * lineIndex -> someMatrix.ptr( lineIndex )
3. (SomeType*) someMatrix.data -> someMatrix.ptr<SomeType>()
4. someMatrix.data -> !someMatrix.empty() ( or !someMatrix.data -> someMatrix.empty() ) in logical expressions
10 years ago
Roman Donchenko
7ea1bf3cf0
Fixed several problems found by PVS-Studio.
...
This fixes all problems from the article "Checking OpenCV with PVS-Studio"
<http://www.viva64.com/en/b/0191/ > that are not already fixed and are
not in 3rdparty or the legacy module.
The problems fixed are two instances of useless code and one instance
of unspecified behavior (right-shifting a negative number).
11 years ago
Vladislav Vinogradov
746185652a
add additional tests for different input cases
11 years ago
Ilya Lavrenov
aa5326c231
cv::norm -> cvtest::norm in tests
...
Conflicts:
modules/core/src/stat.cpp
11 years ago
Ilya Lavrenov
32eb38ec98
fixed defects from coverity.com
11 years ago
Ilya Lavrenov
f6367a2ea5
eliminated possible memory leak
...
(cherry picked from commit e7e63fac6c
)
11 years ago
Ilya Lavrenov
e7e63fac6c
eliminated possible memory leak
11 years ago
Roman Donchenko
e9a28f66ee
Normalized file endings.
11 years ago
Roman Donchenko
f55740da70
Deleted all trailing whitespace.
11 years ago
Andrey Kamaev
715fa3303e
Move cv::Mat out of core.hpp
12 years ago
Andrey Kamaev
5e7ab8baf3
Move cv::Scalar_ to types.hpp
12 years ago
Vadim Pisarevsky
9a86245242
added test for bug #1448 and hopefully fixes the bug #2898
12 years ago
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.
12 years ago
Andrey Kamaev
20c5a8788d
Weaken acceptance criteria in phase test
12 years ago
Andrey Kamaev
0a4ed2bc01
Fix Windows build warnings
12 years ago
Vadim Pisarevsky
9163471987
improved accuracy of 3x3 invert on poorly-conditioned matrices (bug #2525 )
12 years ago
Maria Dimashova
78dd1893bb
added tests for cv::merge, cv::split, cv::phase
12 years ago
OpenCV Buildbot
81f826db2b
Normalize line endings and whitespace
12 years ago
OpenCV Buildbot
04384a71e4
Normalize line endings and whitespace
12 years ago
Vadim Pisarevsky
d5a0088bbe
merged 2.4 into trunk
13 years ago
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
13 years ago
Vadim Pisarevsky
2fd1e2ea57
merged all the latest changes from 2.4 to trunk
13 years ago
Andrey Kamaev
97835a8f32
Fixed 9 more build warnings
13 years ago
Marina Kolpakova
c0f6e219bb
calcCovarMatrix cupport fot std::vectors of cv::Mat ( #494 )
13 years ago
Andrey Pavlenko
7e06b18144
workaround for the 'Bug #1784 (cvFloor/cvCeil)'; typos fixed; two more tests for checkRange
13 years ago
Andrey Pavlenko
dccfd79da8
#1783 : test and fix for the bug
13 years ago
Vadim Pisarevsky
61c7c441b9
handle single-point sets in kmeans properly
13 years ago
Vadim Pisarevsky
c6a27b3d2f
probably, ultimately fixed the problem of empty clusters in kmeans; added test for singular kmeans cases
13 years ago
Marina Kolpakova
13c7222238
minor refactoring
13 years ago
Marina Kolpakova
32b9bc1d00
fixed bug for #1496 and correctness tests for function CheckRange
13 years ago
Vadim Pisarevsky
846e37ded5
fixed many warnings from GCC 4.6.1
13 years ago
Vadim Pisarevsky
72c23e7bbb
fixed most of test_core failures (except for SVD)
13 years ago
Vadim Pisarevsky
ff5e97c8e4
added COVAR_ and SORT_ enums to core.hpp; fixed many, many VS2005, VS2010 and MinGW (GCC 4.5.2) warnings
14 years ago
Anatoly Baksheev
1c18e5fef9
fixed ~300 warnings under windows (had to hack gtest a bit)
14 years ago
Vadim Pisarevsky
9ac3a35175
do not use Lapack anymore
14 years ago
Vadim Pisarevsky
061b49e0b2
reworked nearly all of the OpenCV tests (except for opencv_gpu tests) - they now use the Google Test engine.
14 years ago