First time here? Check out the FAQ!
answered 2014-11-12 04:00:59 -0600
You could convert it to gray-scale (cv::cvtColor) and compare its value to white (which could be 1.0 or 255 depending on your image type). A fast way to do this for all pixels is cv::threshold.