title: How to convert an image from np.uint16 to np.uint8?
body: <p>I am creating an image so:</p>
  
  <pre><code>image = np.empty(shape=(height, width, 1), dtype = np.uint16)
  </code></pre>
  
  <p>After that I convert the image to BGR model:</p>
  
  <pre><code>image = cv2.cvtColor(image, cv2.COLOR_GRAY2BGR)
  </code></pre>
  
  <p>I'd like to convert the image now in a <code>dtype = np.uint8</code> in order to use that image with <code>cv2.threshold()</code> function. I meant, I would like to convert the image to <code>CV_8UC1</code>.</p>