increase bit depth of image using c#

asked 2015-08-20 00:47:09 -0500

KasthuGuna gravatar image

updated 2015-08-20 13:15:06 -0500

I am doing a project in digital image watermarking. In that project, I'm looking for a way to increase bit depth of an image for store additional information in each pixel.

I'm using C# and OpenCV.

edit retag flag offensive close merge delete

Comments

3

unfortunately, 3rdparty wrappers like c#.net are pretty off-topic here, but i guess, you want something like:

Mat more_depth;
img.convertTo(more_depth, CV_16U);  // assuming img is CV_8U
berak gravatar imageberak ( 2015-08-20 01:53:26 -0500 )edit