Ask Your Question

Revision history [back]

A cv::Mat has a member variable 'data' that contains all values in a 1d-array so you can use it as argument. But how do you use std::max_element to get the most frequently value?