mirror of
https://github.com/opencv/opencv.git
synced 2024-11-27 12:40:05 +08:00
3fc1c73064
[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 |
||
---|---|---|
.. | ||
common | ||
cpu | ||
gpu | ||
infer | ||
internal | ||
own | ||
render | ||
rmat | ||
s11n | ||
streaming | ||
util | ||
gapi_array_tests.cpp | ||
gapi_async_test.cpp | ||
gapi_basic_hetero_tests.cpp | ||
gapi_compile_args_tests.cpp | ||
gapi_desc_tests.cpp | ||
gapi_fluid_parallel_rois_test.cpp | ||
gapi_fluid_resize_test.cpp | ||
gapi_fluid_roi_test.cpp | ||
gapi_fluid_test_kernels.cpp | ||
gapi_fluid_test_kernels.hpp | ||
gapi_fluid_test.cpp | ||
gapi_frame_tests.cpp | ||
gapi_gcompiled_tests.cpp | ||
gapi_gcomputation_tests.cpp | ||
gapi_gpu_test.cpp | ||
gapi_kernel_tests.cpp | ||
gapi_mock_kernels.hpp | ||
gapi_opaque_tests.cpp | ||
gapi_plaidml_pipelines.cpp | ||
gapi_planar_test.cpp | ||
gapi_sample_pipelines.cpp | ||
gapi_scalar_tests.cpp | ||
gapi_smoke_test.cpp | ||
gapi_transform_tests.cpp | ||
gapi_typed_tests.cpp | ||
gapi_util_tests.cpp | ||
opencl_kernels_test_gapi.hpp | ||
test_main.cpp | ||
test_precomp.hpp |