Yes, I am able to read it on java side as:
Mat img = Highgui.imread(<path_to_file_onsdcard>, 0);
works (i verified width and height of img)! But on C++ side following code gives empty image:
Mat img = imread(<path_to_file_onsdcard>, CV_LOAD_IMAGE_GRAYSCALE );
Thanks for quick response. Any idea how to debug this?
-Pramod