opencv/modules/gapi/test
Orest Chura 3fc1c73064
Merge pull request #18510 from OrestChura:oc/boundingRect
[G-API]: findContours() and boundingRect() Standard Kernels Implementation

* Add findContours() standard kernel
 - API and documentation provided:
   - as OpenCV provides two overloads whether to calculate hierarchy or not, but they differ by only the output in sight of G-API, two different G-API functions and kernels implemented
   - G-API Imgproc documentation divided into more parts according to imgproc module parts
   - some typos connected with division into parts corrected
 - `GArray<GArray<U>>` overload for `get_out` function provided to coonvert correctly into `vector<vector<U>>`
 - OCV backend supported
 - accuracy tests provided

* Add boundingRect() standard kernel
     - API and documentation provided:
       - GOpaque<Rect> used as an output
       - as OpenCV provides two possibilities whether to take a gray-scale image or a set of 2D points (`Point2i` or `Point2f` supported), three different overloads of a single G-API function and three kernels implemented
          - for a gray-scale image the overload via `GMat`
          - for a set of `Point2i` - the one via GArray<`Point2i`>
          - set of `Point2f` -> GArray<`Point2f`>
     - OCV backend supported
     - accuracy tests provided
       - comparison function for Rects provided
     - some typos in `gapi_tests_common` corrected

* Fix precommit windows warnings

* - Addressing comments:
   - split tests
 - Fix Windows warnings

* Static_cast for warnings

* - Remove randomness
 - Fix unnecessary precision losses

* - Forgot reference for RNG

* addressing comments

* equalizeHist -> no group

* `const` addedin new functions

* Address suggestions:
 - Hierarchical -> H
 - added cv::GMatDesc::isVectorPoins()
 - added support of giving a set of points to boundingRect()

* Addressing comments
 - IoU comparison function added for Rects
 - isPointsVector moved from a GMatDesc method to a separate function in imgproc.hpp
 - enums instead of int
 - typos corrected

* Addressing comments
 - findContours: Point offset -> GOpaque<Point>
 - removed "straight" comparison for Rects, IoU available only
 - changed vectors initialization -> fix Debug test run
 - Some typos

* added comment for later upgrades

* Fix not to corrupt docs by FIXME

* Addressing commens
 - overload without offset added (as a temporary workaround)
 - checkMetaForFindingContours -> validateFindingContoursMeta
 - added ostream overload for enums used in tests
2020-11-11 12:13:10 +00:00
..
common Merge pull request #18510 from OrestChura:oc/boundingRect 2020-11-11 12:13:10 +00:00
cpu Merge pull request #18510 from OrestChura:oc/boundingRect 2020-11-11 12:13:10 +00:00
gpu Merge pull request #18451 from OrestChura:oc/count_non_zero 2020-09-30 16:07:35 +00:00
infer Merge pull request #18716 from dmatveev:dm/upstream_onnx 2020-11-03 18:39:16 +00:00
internal G-API: Introduce streaming::desync and infer(ROI) 2020-10-29 20:19:15 +03:00
own G-API: Introduce streaming::desync and infer(ROI) 2020-10-29 20:19:15 +03:00
render Merge pull request #18600 from TolyaTalamanov:at/implement-render-using-stateful 2020-10-26 19:55:43 +00:00
rmat Merge pull request #18339 from rgarnov:rg/rmat_integration 2020-10-04 18:57:41 +00:00
s11n Changed behaviour of cv::gapi::serialize, cv::gapi::deserialize for GCompileArgs 2020-11-02 18:55:54 +03:00
streaming G-API: Introduce streaming::desync and infer(ROI) 2020-10-29 20:19:15 +03:00
util GAPI: utils - variant converting ctor and assignment op. reworked 2020-05-20 14:34:55 +03:00
gapi_array_tests.cpp Merge pull request #18339 from rgarnov:rg/rmat_integration 2020-10-04 18:57:41 +00:00
gapi_async_test.cpp Merge pull request #16995 from mpashchenkov:mp/ocv-gapi-standalone-mat 2020-04-21 20:22:01 +00:00
gapi_basic_hetero_tests.cpp gapi(test): ban and get rid of countNonZero() checks 2020-02-26 14:19:19 +03:00
gapi_compile_args_tests.cpp Enable state initialization params via compile_args 2020-06-25 00:43:12 +03:00
gapi_desc_tests.cpp Merge pull request #16995 from mpashchenkov:mp/ocv-gapi-standalone-mat 2020-04-21 20:22:01 +00:00
gapi_fluid_parallel_rois_test.cpp Merge pull request #16745 from Volskig:mp/ocv-gapi-standalone-size 2020-04-02 18:19:45 +00:00
gapi_fluid_resize_test.cpp Merge pull request #16745 from Volskig:mp/ocv-gapi-standalone-size 2020-04-02 18:19:45 +00:00
gapi_fluid_roi_test.cpp Merge pull request #16745 from Volskig:mp/ocv-gapi-standalone-size 2020-04-02 18:19:45 +00:00
gapi_fluid_test_kernels.cpp Merge pull request #16805 from Volskig:mp/ocv-gapi-standalone-scalar 2020-04-01 18:40:38 +00:00
gapi_fluid_test_kernels.hpp Merge pull request #15312 from smirnov-alexey:gapi_fluid_garray 2019-09-02 15:51:58 +03:00
gapi_fluid_test.cpp Merge pull request #16995 from mpashchenkov:mp/ocv-gapi-standalone-mat 2020-04-21 20:22:01 +00:00
gapi_frame_tests.cpp G-API: Integrated cv::MediaFrame as I/O type + CPU backend 2020-10-05 20:21:15 +03:00
gapi_gcompiled_tests.cpp Merge pull request #16745 from Volskig:mp/ocv-gapi-standalone-size 2020-04-02 18:19:45 +00:00
gapi_gcomputation_tests.cpp Implement cv.gin and multiple output for python 2020-09-29 13:45:40 +03:00
gapi_gpu_test.cpp Merge pull request #14741 from rgarnov:gapi_fix_includes 2019-06-14 19:27:19 +03:00
gapi_kernel_tests.cpp Merge pull request #15907 from rgarnov:rg/unique_ptr_for_priv_in_fluid 2020-04-07 14:51:14 +00:00
gapi_mock_kernels.hpp Merge pull request #14741 from rgarnov:gapi_fix_includes 2019-06-14 19:27:19 +03:00
gapi_opaque_tests.cpp Merge pull request #18451 from OrestChura:oc/count_non_zero 2020-09-30 16:07:35 +00:00
gapi_plaidml_pipelines.cpp Add implementation in case plaidml isn't found 2020-06-22 00:46:41 +03:00
gapi_planar_test.cpp gapi(test): ban and get rid of countNonZero() checks 2020-02-26 14:19:19 +03:00
gapi_sample_pipelines.cpp Merge pull request #16995 from mpashchenkov:mp/ocv-gapi-standalone-mat 2020-04-21 20:22:01 +00:00
gapi_scalar_tests.cpp gapi(test): ban and get rid of countNonZero() checks 2020-02-26 14:19:19 +03:00
gapi_smoke_test.cpp gapi(test): ban and get rid of countNonZero() checks 2020-02-26 14:19:19 +03:00
gapi_transform_tests.cpp Merge pull request #17020 from dbudniko:dbudniko/serialization_backend 2020-06-26 19:41:29 +00:00
gapi_typed_tests.cpp Merge pull request #17871 from OrestChura:oc/typed_GArray_GMat 2020-07-28 14:20:36 +03:00
gapi_util_tests.cpp Merge pull request #14741 from rgarnov:gapi_fix_includes 2019-06-14 19:27:19 +03:00
opencl_kernels_test_gapi.hpp avoid kernel compile error on Arm SBCs 2020-07-06 18:27:19 +09:00
test_main.cpp Merge pull request #12608 from dmatveev:gapi 2018-09-26 21:50:39 +03:00
test_precomp.hpp gapi: Full calcOpticalFlowPyrLK implementation (2 overloads) and tests 2020-04-08 18:11:55 +03:00