Ask Your Question

Revision history [back]

Convert 16 bit image to R10 G11 B10

I have a 16 bit per sample image(48 bit per pixel) with three channels in a byte array, in OpenCV this is CV16UC3.

I want to convert this 16 bps image to R10 G11 B10, so 10 bits in red, 11 bits in green and 10 bits in blue. Is this possible in OpenCV?

I am using OpenCVAndroid SDK