opencv/modules
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
..
calib3d Merge pull request #25145 from MaximSmolskiy:improve-contours-approximations-in-ChessBoardDetector-generateQuads-2 2024-03-06 14:03:50 +03:00
core Merge pull request #25042 from mshabunin:doc-upgrade 2024-03-05 16:19:45 +03:00
dnn Avoid copy of ONNX graph during import 2024-03-05 18:22:46 +03:00
features2d Merge pull request #25042 from mshabunin:doc-upgrade 2024-03-05 16:19:45 +03:00
flann Merge pull request #25024 from vrabaud:neon 2024-02-20 11:29:23 +03:00
gapi Merge pull request #25055 from dmatveev:dm/value_initialized_gmat 2024-03-06 17:15:49 +03:00
highgui Backport some highgui changes from #22754 2024-03-05 17:49:01 +03:00
imgcodecs Merge pull request #25042 from mshabunin:doc-upgrade 2024-03-05 16:19:45 +03:00
imgproc Merge pull request #25042 from mshabunin:doc-upgrade 2024-03-05 16:19:45 +03:00
java Merge pull request #25042 from mshabunin:doc-upgrade 2024-03-05 16:19:45 +03:00
js Merge pull request #25084 from EDVTAZ:emscripten-3.1.54-compat 2024-02-26 10:30:56 +03:00
ml Partially back-port #25075 to 4.x 2024-03-05 12:15:39 +03:00
objc Merge pull request #24136 from komakai:visionos_support 2023-12-20 15:35:10 +03:00
objdetect Merge pull request #25042 from mshabunin:doc-upgrade 2024-03-05 16:19:45 +03:00
photo Merge pull request #25042 from mshabunin:doc-upgrade 2024-03-05 16:19:45 +03:00
python fix [use hasattr("cv2", "name") ,but first param is 'character string', 2024-02-23 22:02:43 +08:00
stitching Partially back-port #25075 to 4.x 2024-03-05 12:15:39 +03:00
ts Partially back-port #25075 to 4.x 2024-03-05 12:15:39 +03:00
video Merge pull request #25042 from mshabunin:doc-upgrade 2024-03-05 16:19:45 +03:00
videoio Merge pull request #25042 from mshabunin:doc-upgrade 2024-03-05 16:19:45 +03:00
world cmake: use /INCREMENTAL:NO with MSVS 2015 2023-12-07 19:46:27 +00:00