title: How to convert an image to a float image in opencv?
body: <p>I have this code:</p>
  
  <pre><code>  Mat image00=imread("C:\\Working Dir\\Tests\\TestBlending\\layer0000.jpg");
    Mat image0;
    image00.convertTo(image0,CV_32FC3);
  </code></pre>
  
  <p>But after converting my image to float, the image is blank (all values are zero). </p>
  
  <p>What is wrong with this code and how can I fix it?</p>