I am trying to write(save) a int16 numpy array as an image using openCV. Find the numpy file of an image in the link below: https://drive.google.com/file/d/1nEq_CeNmSgacARa2ADr_f_qVaSfJSZZX/view?usp=sharing The image I saved in bmp or png or tiff format is look like this: Uint16
I converted the numpy array to uint8 and the image become very dark and the maximum value of the image is just 34 as shown below: uint8
Please let me know how to properly save and visualize this int16 format image.
Note: plt.imshow of int16 numpy array showing proper visual. matplotlib_imshow