How to load an IPlImage from Android ImageView
I have an image displayed in android ImageView. Now I want to convert that image to openCV IPlImage, how to do that. I am not reading the image file from file system because I want to draw on android imageView and width and height of the image displayed on imageView and original image in the storage will be different.
And the solution I used is-
IplImage image = cvLoadImage(strImageFilePath, // filename
CV_LOAD_IMAGE_GRAYSCALE);