opencv/modules
Orest Chura d1cdef596c
Merge pull request #18257 from OrestChura:oc/fluid_operator_bitwise_and_scalar
[G-API]: Add Fluid bitwise operations implementation for (GMat, GScalar)

* Added Fluid `bitwise` with `Scalar` + acc.tests
 - simple loop implementation for Fluid used (no `hal`);
   - `Scalar` is casted to `int` in the beginning
 - tests just modified to work with `Scalar`
 - expected output in operators' tests fixed (operators can't change Mat's depth)
 - `float` `Scalar` `RNG` added, `RNG` reworked (`time` is used now), initialization of test fixtures reworked
   - if input or output is `float` Scalar is initialized by `float`
 - some problems with Fluid/OCV floating-point comparison difference stashed by `AbsSimilarPoints()` usage, FIXME added
 - divide-by-zero is now fixed differently and everywhere

* - Added perf_tests for bitwise_Scalar operations
 - due to errors of Fluid floating-point comparison operations, added support of different validation in Cmp perf_tests; added FIXME

 - reworked integral initialization of Scalar

* Addressing comments
 - NULL -> nullptr
 - Scalar convertion moved to the function
 - avoid -> avoiding

* Addressing comments

* CV_assert -> GAPI_assert

* Addressed DM comments
 - refactored convertScalarForBitwise()
 - removed unnecessary braces for switch

* Changed the operators tests
 - switch via `enum` implemented
 - infrastructure for that refactored
2020-09-18 13:44:47 +00:00
..
calib3d Merge pull request #18270 from komakai:swift-inout-arrays 2020-09-06 20:12:16 +00:00
core pre: OpenCV 4.5.0 (version++) 2020-09-08 06:08:58 +00:00
dnn pre: OpenCV 4.5.0 (version++) 2020-09-08 06:08:58 +00:00
features2d Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2020-09-01 20:59:00 +00:00
flann Merge pull request #18243 from alalek:static_code_fixes 2020-09-02 22:50:00 +00:00
gapi Merge pull request #18257 from OrestChura:oc/fluid_operator_bitwise_and_scalar 2020-09-18 13:44:47 +00:00
highgui backport: checks and fixes from static code analyzers results 2020-09-02 19:05:47 +00:00
imgcodecs Merge pull request #18270 from komakai:swift-inout-arrays 2020-09-06 20:12:16 +00:00
imgproc Merge pull request #18270 from komakai:swift-inout-arrays 2020-09-06 20:12:16 +00:00
java Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2020-06-04 17:58:34 +00:00
js Merge pull request #18073 from vpisarev:apache2_license 2020-08-17 11:49:11 +00:00
ml Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2020-09-05 19:37:38 +00:00
objc Swift native in/out array handling 2020-09-03 21:31:11 +09:00
objdetect backport: checks and fixes from static code analyzers results 2020-09-02 19:05:47 +00:00
photo Add Objective-C/Swift wrappers for opencv_contrib modules 2020-07-21 19:19:08 +09:00
python Merge pull request #18343 from TolyaTalamanov:at/support-return-tuple 2020-09-18 16:38:37 +03:00
stitching Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2020-08-06 14:15:52 +00:00
ts Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2020-03-23 16:54:35 +00:00
video Merge pull request #17165 from komakai:objc-binding 2020-06-08 18:32:53 +00:00
videoio Haiku: build fix 2020-09-07 21:07:38 +02:00
world Merge pull request #13422 from mshabunin:split-videoio-cmake 2018-12-26 15:50:20 +03:00
CMakeLists.txt