mirror of
https://github.com/opencv/opencv.git
synced 2025-01-21 08:37:57 +08:00
115e471515
* 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> |
||
---|---|---|
.. | ||
ocl | ||
test_arithm.cpp | ||
test_async.cpp | ||
test_concatenation.cpp | ||
test_conjugate_gradient.cpp | ||
test_countnonzero.cpp | ||
test_cuda.cpp | ||
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 | ||
test_intrin_utils.hpp | ||
test_intrin.cpp | ||
test_io.cpp | ||
test_logtagconfigparser.cpp | ||
test_logtagmanager.cpp | ||
test_lpsolver.cpp | ||
test_main.cpp | ||
test_mat.cpp | ||
test_math.cpp | ||
test_misc.cpp | ||
test_opencl.cpp | ||
test_operations.cpp | ||
test_precomp.hpp | ||
test_ptr.cpp | ||
test_quaternion.cpp | ||
test_rand.cpp | ||
test_rotatedrect.cpp | ||
test_umat.cpp | ||
test_utils_tls.impl.hpp | ||
test_utils.cpp |