I have a 4 band multichannel image (TIF) which is an unsigned 16 bit image. I am using the following:
opencv2
python
I have done the following at the beginning of my code
import cv2
When I use
i = cv2.imread('img.tif')
it is reading all the four bands but as UINT8. When I use
i = cv2.imread('img.tif', cv2.CV_16U)
it reads only one channel of the image. What should be done to read all the four channels in 16bit unsigned?