opencv/modules/core/test
Kumataro bae435a5a7
Merge pull request #24578 from Kumataro:fix_verify_unsupported_new_mat_depth
Fix verify unsupported new mat depth for nonzero/minmax/lut #24578

`cv::LUI()`, `cv::minMaxLoc()`, `cv::minMaxIdx()`, `cv::countNonZero()`, `cv::findNonZero()` and `cv::hasNonZero()` uses depth-based function table. However, it is too short for `CV_16BF`, `CV_Bool`, `CV_64U`, `CV_64S` and `CV_32U` and it may occur out-boundary-access. This patch fix it. And If necessary, when someone extends these functions to support, please relax this test.

### Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [x] The PR is proposed to the proper branch
- [x] There is a reference to the original bug report and related work
- [x] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
      Patch to opencv_extra has the same branch name.
- [x] The feature is well documented and sample code can be built with the project CMake
2023-11-23 12:15:58 +03:00
..
ocl Merge pull request #23098 from savuor:nanMask 2023-11-09 10:32:47 +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 Merge pull request #24578 from Kumataro:fix_verify_unsupported_new_mat_depth 2023-11-23 12:15:58 +03:00
test_async.cpp Merge pull request #19985 from fpetrogalli:disable_threads 2021-07-08 20:21:21 +00: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 Merge pull request #22947 from chacha21:hasNonZero 2023-06-09 13:37:20 +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 2023-10-02 10:17:23 +03:00
test_opencl.cpp UMat usageFlags fixes opencv/opencv#19807 2021-06-03 16:33:03 +02:00
test_operations.cpp Merge branch 4.x 2023-10-02 10:17:23 +03:00
test_precomp.hpp Merge pull request #23098 from savuor:nanMask 2023-11-09 10:32:47 +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 core(tls): implement releasing of TLS on thread termination 2019-10-24 06:36:18 +00:00
test_utils.cpp Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2022-08-14 15:50:42 +00:00