convert 5 bit depth to 8 bit depth single channel in opencv3.0

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

convert 5 bit depth to 8 bit depth single channel in opencv3.0

opencv-users mailing list
Hi everyone.

I have Mat with depth 5.
How can i convert it to 8bit unsigned Mat in opencv 3.0?

convertTo () but it give me black image.

also 8bit depths are available upto 4.

than how can i convert it?
Please guide me thanks.