title: How to compare scalars in OpenCV
body: <p>I have a class called "myClass", which returns "cv::Scalar" type, and I want to do this:</p>
  
  <pre><code>cv::Scalar myValue; 
  for ( myValue &gt; myClass (i,j) )
  .... 
  </code></pre>
  
  <p>But the comparison part in the "for" line gives out error, saying "no operator > matches these operands". Could someone help me? Thank you. </p>