title: Reshape (M, N, 3) numpy array to (M*N, 3)
body: <p>Suppose I have an RGB (or HSV) image represented by an (M, N, 3) numpy array wherein each dimension (<code>[x, y, 0]</code> or <code>[x, y, 1]</code>) represents a color channel value at a specific pixel. I want to reshape the array to (M*N, 3) where the color channels are combined (<code>[R1, G1, B1], [R2, G2, B2]</code>...) into a flat list (is that the correct terminology in this case?). I understand that one must use the reshape function, but I'm having difficulty understanding <em>how</em> to use the function. Any help is appreciated. </p>
  
  <p>EDIT: Here is an example of what I would like to happen. </p>
  
  <p>Input: (640 x 640 x 3) array representative of image where <code>[40, 40, 1]</code> would be the G value for a specific pixel. I want to take all 3 color channels and combine them into the following output. </p>
  
  <p>Output: <code>([R, G, B], [R, G, B], [R, G, B]...)</code></p>