Alexander Alekhin
96ee83898d
core(test): extend divideByZero test
...
to verify SIMD code path
6 years ago
maver1
e397434cb6
Merge pull request #12877 from maver1:3.4
...
* Updated ICV packages and IPP integration
* core(test): minMaxIdx IPP regression test
* core(ipp): workaround minMaxIdx problem
* core(ipp): workaround meanStdDev() CV_32FC3 buffer overrun
* Returned semicolon after CV_INSTRUMENT_REGION_IPP()
6 years ago
Alexander Alekhin
5677a683a5
core(test): zero values divide test (3.x)
6 years ago
Vitaly Tuzov
1ff11c84ab
Fixed meanStdDev() implementation for the case input matrix has more than 4 channels
6 years ago
Vitaly Tuzov
2f929376ec
Fixed meanStdDev() implementation for the case input matrix has more than 4 channels
6 years ago
Alexander Alekhin
f2e1710dd5
core(test): regression test for 12121
6 years ago
Maksim Shabunin
1165fdd0f5
Added more strict checks for empty inputs to compare, meanStdDev and RNG::fill
6 years ago
yuki takehara
4934f7c5a4
Merge pull request #11285 from take1014:core_6125
...
* Resolves 6125
* Fix test code
* Delete unnecessary code
7 years ago
Alexander Alekhin
dfa04a11bb
core: norm with mask 16UC3 regression test
7 years ago
Vitaly Tuzov
ccd16f107d
Fixed IPP based implementation of setTo() for infinity value
7 years ago
Alexander Alekhin
4a297a2443
ts: refactor OpenCV tests
...
- removed tr1 usage (dropped in C++17)
- moved includes of vector/map/iostream/limits into ts.hpp
- require opencv_test + anonymous namespace (added compile check)
- fixed norm() usage (must be from cvtest::norm for checks) and other conflict functions
- added missing license headers
7 years ago
elenagvo
cd1c8693d8
HAL for minMaxIdx
7 years ago
Tomoaki Teshima
ca1a0a1108
core: remove raw SSE2/NEON implementation from convert.cpp ( #9831 )
...
* remove raw SSE2/NEON implementation from convert.cpp
* remove raw implementation from Cvt_SIMD
* remove raw implementation from cvtScale_SIMD
* remove raw implementation from cvtScaleAbs_SIMD
* remove duplicated implementation cvt_<float, short>
* remove duplicated implementation cvtScale_<short, short, float>
* add "from double" version of Cvt_SIMD
* modify the condition of test ConvertScaleAbs
* Update convert.cpp
fixed crash in cvtScaleAbs(8s=>8u)
* fixed compile error on Win32
* fixed several test failures because of accuracy loss in cvtScale(int=>int)
* fixed NEON implementation of v_cvt_f64(int=>double) intrinsic
* another attempt to fix test failures
* keep trying to fix the test failures and just introduced compile warnings
* fixed one remaining test (subtractScalar)
7 years ago
Christof Kaufmann
7ec59fc097
Revert changes of mean and meanStdDev
7 years ago
Christof Kaufmann
46a668c565
Add multi-channel mask support to mean, meanStdDev and setTo
...
This adds the possibility to use multi-channel masks for the functions
cv::mean, cv::meanStdDev and the method Mat::setTo. The tests have now a
probability to use multi-channel masks for operations that support them.
This also includes Mat::copyTo, which supported multi-channel masks
before, but there was no test confirming this.
7 years ago
Alexander Alekhin
d9e092325b
test: regression test for IPP minMaxIdx problem
8 years ago
Vladislav Sovrasov
35a1ecef2a
core: fix infinite recursion in compare
8 years ago
Vadim Pisarevsky
4eda8efd42
resolves https://github.com/opencv/opencv/issues/7792
8 years ago
Alexander Alekhin
dbbbad40fb
build: eliminate ICC warnings
8 years ago
Alexander Alekhin
79857f1e38
test: fix Core_ArithmMask.uninitialized test
...
Don't run binary operations for floating-point numbers
norm() will fail with NAN result.
8 years ago
Alexander Alekhin
5032dae9ed
test: refactor test to capture more information on failure
...
Core_ArithmMask.uninitialized
8 years ago
Rostislav Vasilikhin
b28d13430c
fixed http://code.opencv.org/issues/3828
8 years ago
Tomoaki Teshima
891c83ff35
fix build error
...
* NAN is not defined on some platform
* follow the comment on PR
9 years ago
Tomoaki Teshima
70dcd107d0
follow the comment
...
* test build on VS2012
9 years ago
Tomoaki Teshima
4423a5edad
fix build error
...
* NAN is not defined on some platform
9 years ago
Ilya Lavrenov
71cbd6f02e
fixed bug #5775
9 years ago
Ilya Lavrenov
c4b57d0ded
disable ippiMinMaxIndx_32f_C1R usage since it crashes on Nans
9 years ago
Tomoaki Teshima
eccf2fa4c3
follow other interface
...
* remove useHW option
* update test
9 years ago
Tomoaki Teshima
b2ad7cd9c0
add feature to convert FP32(float) to FP16(half)
...
* check compiler support
* check HW support before executing
* add test doing round trip conversion from / to FP32
* treat array correctly if size is not multiple of 4
* add declaration to prevent warning
* make it possible to enable fp16 on 32bit ARM
* let the conversion possible on non-supported HW, too.
* add test using both HW and SW implementation
9 years ago
Alexander Alekhin
17e4d33b0e
added regression test for #5876
9 years ago
Gleb Gladilov
2bc4486966
Added test of minMaxLoc on filling with maximums of int
9 years ago
Gleb Gladilov
07de67c32f
Added test of minMaxLoc on filling with maximums of int
10 years ago
Vadim Pisarevsky
135fa85e8f
added vector<bool> support ( http://code.opencv.org/issues/3826 )
10 years ago
Vadim Pisarevsky
d8f360316d
fixed http://code.opencv.org/issues/3828 , added test. thanks to berak for the patch
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
Vladislav Vinogradov
77275031ab
finally fix cv::subtract
11 years ago
Vladislav Vinogradov
942401de16
fix output matrix allocation in cv::subtract(cherry picked from commit 629461c836
)
11 years ago
Vladislav Vinogradov
629461c836
fix output matrix allocation in cv::subtract
11 years ago
Vladislav Vinogradov
f9ff9c5618
fix cv::subtract function:
...
call dst.create(...) before using it(cherry picked from commit 4c66614e07
)
11 years ago
Vladislav Vinogradov
4c66614e07
fix cv::subtract function:
...
call dst.create(...) before using it
11 years ago
Maks Naumov
29d1bce85f
remove unused variable in TEST_P()
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
469aef2e5e
fixed bug #3341
...
(cherry picked from commit 09d25e11c6
)
11 years ago
Ilya Lavrenov
6b9ebcbf3d
deleted extra semicolons
11 years ago
Ilya Lavrenov
09d25e11c6
fixed bug #3341
11 years ago
Roman Donchenko
e9a28f66ee
Normalized file endings.
11 years ago
kdrobnyh
4dfd40bec0
Add IPP mean and sum functions
12 years ago
Andrey Kamaev
715fa3303e
Move cv::Mat out of core.hpp
12 years ago
Alexander Smorkalov
6f68640d4d
Multiple fixes for WinRT
...
Fixed flann build with NEON;
Fixed Haming distance with NEON;
Honest cvRound for WinRT added;
cvRound test added;
Video IO with direct show disabled;
12 years ago