How to know the datatype of a input image?
I am reading an image from my computer and i want to know the datatype of that image. How can i do so?
The input image could be...CV_8UC1, CV_32FC1 or any other possibility.
Mat input = imread("sample.jpg", 1);