First time here? Check out the FAQ!
answered 2014-10-12 05:33:21 -0600
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?