opencv/modules/gapi
Dmitry Matveev f174363f60
Merge pull request #25055 from dmatveev:dm/value_initialized_gmat
G-API: A quick value-initialization support GMat #25055

This PR enables `GMat` objects to be value-initialized in the same way as it was done for `GScalar`s (and, possibly, other types).

- Added some helper methods in backends to distinguish if a certain G-type value initialization is supported or not;
- Added tests, including negative.

Where it is needed:

- Further extension of the OVCV backend (#24379 - will be refreshed soon);
- Further experiments with DNN module;
- Further experiments with "G-API behind UMat" sort of aggregation.

In the current form, PR can be reviewed & merged (@TolyaTalamanov please have a look)

### Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [x] The PR is proposed to the proper branch
- [ ] There is a reference to the original bug report and related work
- [x] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
      Patch to opencv_extra has the same branch name.
- [x] The feature is well documented and sample code can be built with the project CMake
2024-03-06 17:15:49 +03:00
..
cmake Updated libade to 0.1.2d 2023-10-18 09:40:53 +03:00
doc doc: removed duplicated markdown file, fixed gapi tutorial 2024-03-05 18:47:08 +03:00
include/opencv2 Merge pull request #25055 from dmatveev:dm/value_initialized_gmat 2024-03-06 17:15:49 +03:00
misc/python Merge pull request #24576 from AsyaPronina:ot_to_python 2023-12-20 15:26:01 +03:00
perf Merge pull request #23109 from seanm:misc-warnings 2023-10-06 13:33:21 +03:00
samples Merge pull request #23766 from TolyaTalamanov:at/segmentation-demo-desync 2023-06-13 18:06:19 +03: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 #25055 from dmatveev:dm/value_initialized_gmat 2024-03-06 17:15:49 +03:00
test Merge pull request #25055 from dmatveev:dm/value_initialized_gmat 2024-03-06 17:15:49 +03:00
CMakeLists.txt Merge pull request #24845 from TolyaTalamanov:at/concurrent-executor 2024-01-30 17:01:50 +03:00