title: flattening an rgb image in python
body: <p>I am reading an rgb image as follows</p>
  
  <pre><code>  scipy.misc.imread()
  </code></pre>
  
  <p>I want to flatten the array in 1D by picking one element from every channel i.e rgb for pixel 0 and pixel 1 and so on.</p>
  
  <p>Thanks</p>