cant read alpha channels [closed]
According to http://docs.opencv.org/modules/highgui/doc/reading_and_writing_images_and_video.html the "-1" in
Mat img = imread(filename, -1);
enables reading alpha channels but actually it does not work.
Could you explain it?
The images are in tiff format.
tiff support is a bit sparse in opencv, but it works with png.
Thank you @berak. Do you mean imread can read alpha channels in png files?
yes, definitely.