title: OpenCV Mat (comparison) operators documentation
body: <p>Do you know where one could find documentation for cv::Mat operators, like <code>&lt;</code>, <code>&lt;=</code> etc? My current doubt is to know if the <code>&lt;</code> operator returns ones or <code>~0</code> values (<code>=255</code> for a uint8_t image, <code>=65535</code> for a uint16_t image and so on). Reading <a href="https://stackoverflow.com/a/9783817/2436175">here</a>, it is implied that the expected behaviour is the one given by the equivalent <a href="http://docs.opencv.org/modules/core/doc/operations_on_arrays.html?highlight=compare#compare" rel="noreferrer">compare</a> call. But I struggle to find a reference in the OpenCV documentation.</p>
  
  <p>I tried to google:</p>
  
  <blockquote>
    <p>opencv mat operator documentation</p>
  </blockquote>