Adding cv::Mat::rbegin() and cv::Mat::rend() (Feature #3334)


Added by Adi Shavit over 11 years ago. Updated over 9 years ago.


Status:Open Start date:2013-10-22
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:core
Target version:-
Difficulty: Pull request:

Description

I needed to iterate over a histogram in reverse order and wanted to do it with stl algorithms.
But to my surprise, cv::Mat does not have an rbegin() and rend() methods.


Associated revisions

Revision a10a7279
Added by Vadim Pisarevsky over 10 years ago

Merge pull request #3334 from micha137:patch-2

History

Updated by Dmitry Retinskiy over 11 years ago

Hi Adi,

cv::Mat's iterators are bi-directional, please refer to the documentation here.
If it doesn't suit your needs then we would appreciate your contribution to the library (if you are interested, you can use these instructions and this ticket to continue with a pull request, otherwise it will be closed).

Updated by Dinar Ahmatnurov over 11 years ago

Hi Adi!
Any updates?

  • Status changed from New to Open

Updated by Dinar Ahmatnurov over 11 years ago

  • Category set to core

Updated by Maksim Shabunin over 9 years ago

Issue has been transferred to GitHub: https://github.com/Itseez/opencv/issues/4641

Also available in: Atom PDF