title: Opencv - Release memory changing cv::Mat refcount to zero
body: <p>Can I release memory using this approach?</p>
  
  <pre><code>    while(true){
          Mat img = imread("C:/image.jpg");
          img.refcount = 0;
          img.release();
      }
  </code></pre>
  
  <p>What can happen if the memory is deallocated in this way? Assuming that the point indicated is safe.</p>