I am doing my research on lip detection and recognition. I am using Open CV with Visual studio 2010 c++. I want to detect the lips in image. When I load the image in opencv how can I differentiate that image quality (Noise, Lightening, contrast and shadow) is ok for detection for lips before starting the image processing?