title: Read image grayscale opencv 3.0.0-dev
body: <p>I am trying to read images directly as black and white.</p>
  
  <p>I recently updated my OpenCv version to 3.0.0-dev, and the code that I used before does not work anymore.</p>
  
  <pre><code>   img = cv2.imread(f, cv2.CV_LOAD_IMAGE_GRAYSCALE)
  </code></pre>
  
  <p>works fine for 2.4 but does not work for the new version, as there is no field <code>CV_LOAD_IMAGE_GRAYSCALE</code>.</p>
  
  <p>Any suggestions?</p>
  
  <p>Note: I know that <code>cv2.imread(f,0)</code> will work, but I do not like having unnamed constants in my code.
  Thanks!</p>