title: OpenCV cvGetMinMaxHistValue for C++ MatND
body: <p>I've got a histogram in a <code>MatND</code> and I want to retrieve its max and min values. In the C version of OpenCV there is a function <code>cvGetMinMaxHistValue()</code> which does this very job, but it doesn't accept a <code>MatND</code>. What alternative do I have? </p>