Convert 16 bit image to R10 G11 B10

asked 2014-10-13 09:18:06 -0600

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

edit retag flag offensive close merge delete

Comments

I am afraid it is not done in OpenCV, but you can go a deeper in the OpenCV code to create a custom image type.

thdrksdfthmn gravatar imagethdrksdfthmn ( 2014-10-13 09:41:46 -0600 )edit