Suleyman TURKMEN
0e6a2c0491
fix legacy constants
2022-01-03 15:08:10 +03:00
Alexander Alekhin
198b5096aa
Merge pull request #16754 from alalek:issue_16752
...
* core(test): FP16 norm test
* core: norm()-FP16 disable OpenCL
* core(norm): fix 16f32f local buffer size
2020-03-07 19:06:47 +00:00
Tomoaki Teshima
8fd1bbde76
fix test error on Tinker Board (OpenCL on Arm platform)
...
* loosen some test threshold mainly for integer types
* use relative error for floating points result
* avoid division by zero by following the comment
* fix the indentation
2018-02-26 22:55:06 +09:00
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
2018-02-03 19:39:47 +00:00
Alexander Alekhin
5a54acef4e
Merge pull request #9130 from alalek:android_define
2017-07-14 17:17:24 +00:00
Alexander Alekhin
d6c5e18e24
core(test): fix input data for OCL FP16 test
2017-07-12 18:51:11 +03:00
Alexander Alekhin
a4a47b538c
build: detect Android via '__ANDROID__' macro
...
https://sourceforge.net/p/predef/wiki/OperatingSystems
2017-07-10 12:43:59 +03:00
Tomoaki Teshima
d81cdb8e1c
add OpenCL version of convertFp16 and test
...
* disable vector operation for now
* brush up the implementation based on comment
2017-05-23 20:00:21 +09:00
Alexander Alekhin
dd304dbe05
test: fix min/max name mismatching
2017-04-18 22:25:00 +03:00
Alexander Alekhin
5da8d65371
eliminate compiler warnings
2016-10-08 02:19:43 +03:00
Alexander Alekhin
17e4d33b0e
added regression test for #5876
2015-12-25 16:16:34 +03:00
Ilya Lavrenov
cf4c79ebdd
disabled some kernels for Android && NVidia
2015-03-04 14:46:49 +03:00
Ilya Lavrenov
3a78a22733
convertScaleAbs for s8, f64
2015-01-12 10:59:29 +03:00
Alexander Karsakov
ec827bed8e
Changed check to NORM_RELATIVE for OCL.Mat_Scalar_Scale tests
2014-09-02 16:05:50 +04:00
Alexander Alekhin
52ac61d87c
Merge pull request #3088 from vbystricky:ocl_enableNormEtc
2014-08-14 14:34:40 +00:00
Vadim Pisarevsky
f7243be79c
Merge pull request #3090 from akarsakov:ocl_reduce_fix
2014-08-14 08:52:18 +00:00
VBystricky
c5632d412e
Change epsilon for NORM_INF_2args accuracy tests
2014-08-13 23:50:32 +04:00
vbystricky
1fe403f461
Enable OpenCL version of norm and convertScaleAbs or 32F data
...
Fix error in minmaxloc.cl
Change test for convertScaleAbs
Fix minMaxIdx for _src2 align
Change epsilon on the tests
2014-08-13 18:33:01 +04:00
Vadim Pisarevsky
d97f9fc477
now the tests pass with loop_times==30
2014-08-13 16:32:01 +04:00
Alexander Karsakov
c3100eeb19
Fixed buffer initialization in reduce kernel. Enabled OCL version of reduce for SUM, MAX, MIN modes.
2014-08-13 12:03:06 +04:00
Alexander Alekhin
55188fe991
world fix
2014-08-05 20:12:35 +04:00
vbystricky
2d587ad691
Prevent generating test case with mask filled 0 only
2014-08-04 15:12:36 +04:00
VBystricky
2026094691
Increase epsilon for OpenCL version UMatDot and ReduceAvg accurency tests
2014-08-02 13:21:34 +04:00
Vadim Pisarevsky
5267ed46c7
1. disabled OpenCL acceleration for cv::multiply() (CV_32F), cv::divide (CV_32F), cv::convertScaleAbs (CV_32F) and cv::reduce (SUM, CV_32F), cv::reduce (MIN & MAX), cv::flip (3-channel case).
...
2. changed the number of test loops from 1 to 30 (except for cv::pow() test, which fails for yet unknown reason)
3. disabled IPP acceleration for 3-channel norms.
4. modified relativeNorm test function to handle very small values
2014-07-30 18:19:47 +04:00
Ilya Lavrenov
5403bdd228
optimized cv::norm with NORM_RELATIVE
2014-06-07 21:26:40 +04:00
Ilya Lavrenov
c80faff42f
added cn>1 support to cv::norm (NORM_INF)
2014-04-30 14:59:37 +04:00
Ilya Lavrenov
eb8b4c58c7
fixed bug in cv::ocl::predictOptimalVectorWidth
2014-03-20 00:28:21 +04:00
Ilya Lavrenov
b73490f86c
eliminated restriction src[i].channels() == 1 in cv::merge
2014-03-19 13:56:31 +04:00
Alexander Alekhin
7ce2ca2e0c
ocl: workaround for Pow accuracy test failure
2014-03-14 19:51:19 +04:00
Alexander Alekhin
9cafd50160
ocl: fixes
2014-03-14 19:51:19 +04:00
Alexander Alekhin
755ca4b7cf
ocl: compare with scalar
2014-03-14 19:51:19 +04:00
Ilya Lavrenov
563dc5aa38
implemented umat expressions
2014-02-05 19:23:42 +04:00
Ilya Lavrenov
98b72ff389
optimized cv::pow for integer power
2014-02-03 22:36:57 +04:00
Ilya Lavrenov
ae4be413c3
added perf tests for cv::reduce
2014-01-21 14:18:38 +04:00
Ilya Lavrenov
63a5e39e2c
added cv::reduce to T-API
2014-01-17 00:41:18 +04:00
Ilya Lavrenov
da2790249e
added NORM_L2SQR type to cv::norm
2014-01-10 18:45:52 +04:00
Ilya Lavrenov
1592234f1a
added mask support to cv::norm, cv::meanStdDev
2014-01-10 18:45:40 +04:00
Ilya Lavrenov
dd302158e0
fixed case with zero mask
2014-01-09 19:26:09 +04:00
Ilya Lavrenov
6ee0b6eb56
added mask support to cv::norm, cv::meanStdDev
2014-01-09 13:49:42 +04:00
Ilya Lavrenov
3a4d4080f4
fixed overflow for cv::norm NORM_L2
2014-01-04 15:20:50 +04:00
Ilya Lavrenov
3e1bec5248
added OpenCL version of cv::patchNaNs
2013-12-30 19:53:03 +04:00
Ilya Lavrenov
6b64257c81
added OpenCL version of cv::scaleAdd
2013-12-29 18:46:25 +04:00
Ilya Lavrenov
abcf8d9e61
implemented OpenCL version of cv::convertScaleAbs
2013-12-29 18:01:19 +04:00
Ilya Lavrenov
31e6251793
added new perf tests to core
2013-12-27 20:02:12 +04:00
Ilya Lavrenov
4c23059209
added cv::inRange to T-API
2013-12-25 18:22:41 +04:00
Andrey Pavlenko
0966e5ffa1
Merge pull request #2033 from ilya-lavrenov:tapi_normalize
2013-12-23 19:19:00 +04:00
Ilya Lavrenov
e3d23918fa
added cv::normalize to T-API; implemented missed UMat::copyTo with mask
2013-12-23 19:17:35 +04:00
Ilya Lavrenov
febb200eee
fixed cv::multuply, cv::divide
2013-12-22 15:49:36 +04:00
Konstantin Matskevich
904dac7670
minMaxLoc
2013-12-17 12:43:21 +04:00
Ilya Lavrenov
1d6715e58a
added cv::sqrt to T-API (using built-in sqrt OpenCL function)
2013-12-12 18:12:30 +04:00