title: Obtaining list of unique pixel values in OpenCV Mat
body: <p>Is there an equivalent of <code>np.unique()</code> or <code>bincount()</code> for an OpenCV <code>Mat</code>? I am working with C++ so can't just convert to a <code>numpy</code> array. </p>