opencv/modules/core/test
Vadim Pisarevsky 1d18aba587
Extended several core functions to support new types (#24962)
* started adding support for new types (16f, 16bf, 32u, 64u, 64s) to arithmetic functions

* fixed several tests; refactored and extended sum(), extended inRange().

* extended countNonZero(), mean(), meanStdDev(), minMaxIdx(), norm() and sum() to support new types (F16, BF16, U32, U64, S64)

* put missing CV_DEPTH_MAX to some function dispatcher tables
* extended findnonzero, hasnonzero with the new types support

* extended mixChannels() to support new types

* minor fix

* fixed a few compile errors on Linux and a few failures in core tests

* fixed a few more warnings and test failures

* trying to fix the remaining warnings and test failures. The test `MulTestGPU.MathOpTest` was disabled - not clear whether to set tolerance - it's not bit-exact operation, as possibly assumed by the test, due to the use of scale and possibly limited accuracy of the intermediate floating-point calculations.

* found that in the current snapshot G-API produces incorrect results in Mul, Div and AddWeighted (at least when using OpenCL on Windows x64 or MacOS x64). Disabled the respective tests.
2024-02-11 10:42:41 +03:00
..
ocl Merge branch 4.x 2024-01-19 17:32:22 +03:00
ref_reduce_arg.impl.hpp Merge pull request #20733 from rogday:argmaxnd 2021-11-28 16:17:46 +00:00
test_arithm.cpp Extended several core functions to support new types (#24962) 2024-02-11 10:42:41 +03:00
test_async.cpp Merge pull request #23736 from seanm:c++11-simplifications 2024-01-19 16:53:08 +03:00
test_concatenation.cpp Added more strict checks for empty inputs to compare, meanStdDev and RNG::fill 2018-07-26 18:06:38 +03:00
test_conjugate_gradient.cpp ts: refactor OpenCV tests 2018-02-03 19:39:47 +00:00
test_countnonzero.cpp Add missing std namespace qualifiers 2023-09-06 13:46:39 +03:00
test_cuda.cpp add cuda::Stream constructor with cuda flags 2021-01-28 16:14:01 +01:00
test_downhill_simplex.cpp Misc. modules/ typos 2018-02-12 07:09:43 -05:00
test_ds.cpp Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2021-12-03 12:32:49 +00:00
test_dxt.cpp Added new data types to cv::Mat & UMat (#23865) 2023-08-04 10:50:03 +03:00
test_eigen.cpp Fix modules/ typos 2019-08-16 17:34:29 +03:00
test_hal_core.cpp Add Loongson Advanced SIMD Extension support: -DCPU_BASELINE=LASX 2022-09-10 09:39:43 +03:00
test_hasnonzero.cpp Extended several core functions to support new types (#24962) 2024-02-11 10:42:41 +03:00
test_intrin128.simd.hpp Merge pull request #22179 from hanliutong:new-rvv 2022-07-19 20:02:00 +03:00
test_intrin256.simd.hpp core(test): intrinsic tests for all dispatched CPU optimizations 2018-08-01 13:50:42 +03:00
test_intrin512.simd.hpp Merge pull request #14210 from terfendail:wui_512 2019-06-03 18:05:35 +03:00
test_intrin_emulator.cpp Merge pull request #16236 from alalek:fix_core_simd_emulator 2020-01-10 21:31:02 +03:00
test_intrin_utils.hpp Clean up the Universal Intrinsic API. 2023-10-13 19:23:30 +08:00
test_intrin.cpp core: fix F16C compilation check 2020-11-17 12:22:49 +00:00
test_io.cpp Merge branch 4.x 2023-10-23 11:53:04 +03:00
test_logtagconfigparser.cpp Merge pull request #13909 from kinchungwong:logging_20190220 2019-04-22 00:01:10 +03:00
test_logtagmanager.cpp build: reduce usage of constexpr 2019-04-22 15:41:27 +03:00
test_lpsolver.cpp Merge remote-tracking branch 'origin/3.4' into merge-3.4 2023-06-20 09:56:57 +03:00
test_main.cpp Merge pull request #11897 from Jakub-Golinowski:hpx_backend 2018-08-31 16:23:26 +03:00
test_mat.cpp Merge branch 4.x 2023-11-08 14:39:48 +03:00
test_math.cpp Merge branch 4.x 2023-07-05 15:51:10 +03:00
test_misc.cpp Merge branch 4.x 2024-01-23 17:06:52 +03:00
test_opencl.cpp UMat usageFlags fixes opencv/opencv#19807 2021-06-03 16:33:03 +02:00
test_operations.cpp Extended several core functions to support new types (#24962) 2024-02-11 10:42:41 +03:00
test_precomp.hpp Merge branch 4.x 2024-01-23 17:06:52 +03:00
test_ptr.cpp 3.4: backported changes from 'master' branch 2019-08-14 16:36:08 +03:00
test_quaternion.cpp Merge pull request #19026 from chargerKong:dualquat 2021-02-17 17:05:08 +00:00
test_rand.cpp Added more strict checks for empty inputs to compare, meanStdDev and RNG::fill 2018-07-26 18:06:38 +03:00
test_rotatedrect.cpp ts: refactor OpenCV tests 2018-02-03 19:39:47 +00:00
test_umat.cpp attempt to add 0d/1d mat support to OpenCV (#23473) 2023-09-21 18:24:38 +03:00
test_utils_tls.impl.hpp Merge pull request #23736 from seanm:c++11-simplifications 2024-01-19 16:53:08 +03:00
test_utils.cpp Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2022-08-14 15:50:42 +00:00