opencv/modules
HattrickGenerator 115e471515
Merge pull request #19967 from HattrickGenerator:master
* Adding functions rbegin() and rend() functions to matrix class.
This is important to be more standard compliant with C++ and an ever increasing number of people using standard algorithms for better code readability- and maintainability.

The functions are copy pated from their counterparts (even though they should probably call the counterparts but this gave me some troube).
They return iterators using std::reverse_iterators

Follow up of an open feature request:
https://github.com/opencv/opencv/issues/4641

* Fix rbegin() and rend() and provide tests for them

* Removing unnecessary whitespaces

* Adding rbegin and rend to Mat_ class with the right parameters so we don't need to repeat the template argument.
An instantiating cv::Mat_<int> for example can call it's rbegin() function and doesn't need rbegin<int>() with this convience addition.

Follows what is done for forward iterators

* static cast the vector size (return size_t) to an int (that is required for opencv mat constructor)

Co-authored-by: Stefan <stefan.gerl@tum.de>
2021-05-20 19:21:34 +00:00
..
calib3d Merge pull request #20012 from ivashmak:bugfix_solvepnp 2021-05-19 12:09:46 +03:00
core Merge pull request #19967 from HattrickGenerator:master 2021-05-20 19:21:34 +00:00
dnn Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2021-05-01 09:44:24 +00:00
features2d Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2021-04-15 20:50:26 +00:00
flann Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2021-05-18 18:06:26 +00:00
gapi Merge pull request #19982 from TolyaTalamanov:at/new-python-operation-api 2021-05-20 18:59:53 +00:00
highgui fix for #19870 2021-04-08 12:59:06 +02:00
imgcodecs Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2021-05-18 18:06:26 +00:00
imgproc Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2021-05-01 09:44:24 +00:00
java Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2021-02-27 17:41:57 +00:00
js Merge pull request #19771 from lionkunonly:opencvjsNodeFix 2021-04-01 12:29:48 +00:00
ml Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2021-04-15 20:50:26 +00:00
objc cmake: fix tracking detail headers 2021-04-01 12:21:18 +00:00
objdetect Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2021-05-18 18:06:26 +00:00
photo Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2021-05-01 09:44:24 +00:00
python Merge pull request #19982 from TolyaTalamanov:at/new-python-operation-api 2021-05-20 18:59:53 +00:00
stitching Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2021-05-01 09:44:24 +00:00
ts valgrind: filter out hardware-accelerated videoio tests 2021-03-17 08:59:56 +00:00
video Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2021-05-01 09:44:24 +00:00
videoio Merge pull request #19755 from mikhail-nikolskiy:ffmpeg-umat 2021-05-14 16:48:50 +00:00
world vtk 9.0 autoinit fix 2021-05-18 10:20:54 +03:00
CMakeLists.txt