increase bit depth of image using c# [closed]

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

KasthuGuna gravatar image

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

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 reopen merge delete

Closed for the following reason question is off-topic or not relevant by sturkmen
close date 2020-10-05 08:56:27.352906

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 -0600 )edit