Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Convert CV_16UC3 color image to CV_8U grayscale

Hi

I'm trying to convert a CV_16UC3 color image to a CV_8U grayscale image.

However, the cvtColor function does not accept CV_16UC3 input images.

How could I do the desired conversion?