opencv/modules/core/test
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
..
ocl Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2021-03-13 13:02:18 +00:00
test_arithm.cpp Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2021-04-01 09:54:57 +00:00
test_async.cpp
test_concatenation.cpp
test_conjugate_gradient.cpp
test_countnonzero.cpp Added countNonZero test for big arrays and disable IPP for some cases 2020-06-03 18:58:41 +03:00
test_cuda.cpp add cuda::Stream constructor with cuda flags 2021-01-28 16:14:01 +01:00
test_downhill_simplex.cpp
test_ds.cpp
test_dxt.cpp
test_eigen.cpp
test_hal_core.cpp
test_intrin128.simd.hpp
test_intrin256.simd.hpp
test_intrin512.simd.hpp
test_intrin_emulator.cpp Merge pull request #16236 from alalek:fix_core_simd_emulator 2020-01-10 21:31:02 +03:00
test_intrin_utils.hpp Merge pull request #18952 from terfendail:wui_doc 2021-03-30 16:18:03 +00:00
test_intrin.cpp core: fix F16C compilation check 2020-11-17 12:22:49 +00:00
test_io.cpp Small improvements to persistence-API doc 2020-11-20 10:49:51 +03:00
test_logtagconfigparser.cpp
test_logtagmanager.cpp
test_lpsolver.cpp
test_main.cpp
test_mat.cpp Merge pull request #19967 from HattrickGenerator:master 2021-05-20 19:21:34 +00:00
test_math.cpp Merge pull request #18924 from alalek:4.x-xcode12 2020-11-26 22:56:59 +00:00
test_misc.cpp Merge pull request #19195 from diablodale:win32AlignAlloc 2020-12-23 17:33:58 +00:00
test_opencl.cpp core(ocl): parametrize OpenCLExecutionContext tests 2020-12-24 19:33:43 +00:00
test_operations.cpp core(arithm_op): workaround problem with scalars handling 2021-03-31 10:35:52 +00:00
test_precomp.hpp
test_ptr.cpp
test_quaternion.cpp Merge pull request #19026 from chargerKong:dualquat 2021-02-17 17:05:08 +00:00
test_rand.cpp
test_rotatedrect.cpp
test_umat.cpp ocl: silence warning in case of async cleanup 2020-08-20 19:33:37 +00:00
test_utils_tls.impl.hpp
test_utils.cpp [build][option] Build option to disable filesystem support. 2021-05-11 12:54:54 +00:00