Ask Your Question

Revision history [back]

As I read the doc, this behavior is perfectly normal. A color image, convert to a grayscale image should have only one channel. The doc says the destination image is the same size and depth (ie 640x480 image in 8U -> gives 640x480 image in 8U but with one channel).

I'm a little bit surprise by the second version. I suppose this version is only used when their is some ambiguities... but I don't know when...