Add support for broadcasting arithmetical and logic operands (Feature #3839)


Added by Goncalo Lopes over 10 years ago. Updated over 9 years ago.


Status:New Start date:2014-08-04
Priority:Normal Due date:
Assignee:Vadim Pisarevsky % Done:

0%

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

Description

This allows for easy and efficient vectorization for basic arithmetic and logic, similar to NumPy:
http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html

This is possible when using OpenCV in Python because of the NumPy interface, but it would be very desirable to be able to do this in C++ as well.

Also, it would be nice to be able to do this without resorting to intermediate buffer allocations and the use of cv::repeat (again, identical to NumPy broadcasting).


Associated revisions

Revision 226b4e3e
Added by Vadim Pisarevsky almost 10 years ago

Merge pull request #3839 from hyperscience:fix-free-space-check-in-grow-seq

History

Updated by Maksim Shabunin over 9 years ago

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

Also available in: Atom PDF