opencv/modules/gapi
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
..
cmake Try to enable G-API build on Android 2020-03-20 17:20:01 +03:00
doc Fix spelling typos 2019-12-26 06:45:03 -05:00
include/opencv2 Merge pull request #18343 from TolyaTalamanov:at/support-return-tuple 2020-09-18 16:38:37 +03:00
misc/python Merge pull request #18343 from TolyaTalamanov:at/support-return-tuple 2020-09-18 16:38:37 +03:00
perf Merge pull request #18257 from OrestChura:oc/fluid_operator_bitwise_and_scalar 2020-09-18 13:44:47 +00:00
samples Merge pull request #17741 from aDanPin:dp/add_dinamic_graph_feature 2020-07-15 18:37:08 +00:00
scripts Added a script to measure & report privacy masking camera performance in different configurations 2020-07-08 19:19:37 +03:00
src Merge pull request #18257 from OrestChura:oc/fluid_operator_bitwise_and_scalar 2020-09-18 13:44:47 +00:00
test Merge pull request #18257 from OrestChura:oc/fluid_operator_bitwise_and_scalar 2020-09-18 13:44:47 +00:00
CMakeLists.txt Merge pull request #18287 from mpashchenkov:mp/ocv-gapi-blue-branch 2020-09-18 13:31:16 +00:00