Hi I'm developing an Android app using OpenCV for Android. The app allows the user to load or shoot an image, and then performs some manipulations on it. My question is: how can I detect the color-space of the image? I never know whether it's RGB/BGR, or maybe RGBA/BGRA... Is there a way to know? It is crucial because I need to perform a color conversion (to LAB space), and the results will be significantly different depending the original color space of course...