title: Stacking images in Python
body: <p>I have two images <code>img1</code> and <code>img2</code> of shape <code>(20,20,3)</code>, that I have read using OpenCV.</p>
  
  <p>I have applied the following statement on the two images:</p>
  
  <pre><code>np.stack([img1,img2], axis=2)
  </code></pre>
  
  <p>and got the following shape:</p>
  
  <pre><code>(20, 20, 2, 3)
  </code></pre>
  
  <p>Does that mean that we now have <code>2</code> <code>20x20x3</code> images? Are they (images and their channels) like put beside each other?</p>
  
  <p>Thanks.</p>