title: How to convert a 16-bit to an 8-bit image in OpenCV?
body: <p>I have a 16-bit grayscale image and I want to convert it to an 8-bit grayscale image in OpenCV for Python to use it with various functions (like <code>findContours</code> etc.). How can I do this in Python?</p>