title: OpenCV: What is the dimension of the array representing a BGR image?
body: <p>According to <a href="https://docs.opencv.org/2.4/doc/tutorials/core/how_to_scan_images/how_to_scan_images.html#how-the-image-matrix-is-stored-in-the-memory" rel="nofollow noreferrer">documentation</a>,   a BGR image is represented this way in OpenCV:</p>
  <p><a href="https://i.stack.imgur.com/buuZr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/buuZr.png" alt="image description" /></a><br />
  <sub>(source: <a href="http://docs.opencv.org/_images/math/154cd030d6aa7d29c35852ac468a3e3e14b882bf.png" rel="nofollow noreferrer">opencv.org</a>)</sub></p>
  <p>My question: what is the dimension of the array displayed by this picture ?</p>