title: Setting a cv::Mat to its maximum possible value
body: <p>I am using opencv through the C++ interface. I know that I can use <code>cv::Mat::operator=(const Scalar&amp; s)</code> or <code>cv::Mat::setTo()</code> to set a <code>cv::Mat</code> to a specific value. But how can I set a <code>cv::Mat</code> passed as parameter to my function to its maximum possible value?</p>