Cannot view 16-bit grey level Images.
I have images in '.tiff' format with 10-bit grey level (i.e 0 to 1023) in a 16-bit containers. I cannot access them. I have tried using function 'imread' and read the images without changing anything it has. But I cannot, it gives output no image data. I am sure that this files has the images. Also, I have tried to read other 8bit and rgb images of '.tiff' format using the same funtion and it works.
So, I would like to know how to access the 10-bit grey level images in 16-bit containers using any fuctions from opencv.
EDIT: Now I have changed the image to .png format. Now the image can be processed. When I try to view it through opencv, I see only a black image. In case, when the image is converted to 8-bit image. I can view it. But I would like to view it as 16 bit grey images.