First time here? Check out the FAQ!
answered 2014-03-25 12:55:57 -0600
Convert all your images to single-channel 8-bit form using cvtcolor and, if necessary, convertTo, threshold, or normalize.