Open Source Computer Vision Library
Go to file
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
.github Enable RISC-V CI configuration for 5.x 2023-10-26 08:26:37 +03:00
3rdparty Merge branch 4.x 2024-01-19 17:32:22 +03:00
apps Merge branch 4.x 2023-09-13 14:49:25 +03:00
cmake Merge branch 4.x 2024-01-23 17:06:52 +03:00
data Merge pull request #22727 from su77ungr:patch-1 2022-11-17 06:54:25 +00:00
doc Merge branch 4.x 2024-01-23 17:06:52 +03:00
include calib3d module in opencv is split into 3 modules: 3d, calib and stereo. 2020-12-01 23:42:15 +03:00
modules Extended several core functions to support new types (#24962) 2024-02-11 10:42:41 +03:00
platforms Fix AAR build with static OpenCV libraries for Android. 2024-01-25 18:15:45 +03:00
samples Merge branch 4.x 2024-01-23 17:06:52 +03:00
.editorconfig add .editorconfig 2018-10-11 17:57:51 +00:00
.gitattributes cmake: generate and install ffmpeg-download.ps1 2018-06-09 13:19:48 +03:00
.gitignore Merge pull request #17165 from komakai:objc-binding 2020-06-08 18:32:53 +00:00
CMakeLists.txt Merge branch 4.x 2024-01-23 17:06:52 +03:00
CONTRIBUTING.md migration: github.com/opencv/opencv 2016-07-12 12:51:12 +03:00
COPYRIGHT copyright: 2023 (update) 2023-01-09 09:49:22 +00:00
LICENSE copyright: 2023 2023-01-08 18:18:37 +00:00
README.md Merge branch 4.x 2024-01-23 17:06:52 +03:00
SECURITY.md Updated PGP key for security reports 2023-04-19 19:16:55 +03:00

OpenCV: Open Source Computer Vision Library

Resources

Contributing

Please read the contribution guidelines before starting work on a pull request.

Summary of the guidelines:

  • One pull request per issue;
  • Choose the right base branch;
  • Include tests and documentation;
  • Clean up "oops" commits before submitting;
  • Follow the coding style guide.

Additional Resources