Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

complement 16 bit mat and then convert it to 8 bit

$
0
0
I have 16 bit openCV Mat. I am looking to complement the MAT and then convert it into 8 bit openCV Mat. I have done it in MATLAB but don't know how to do it in openCV. My MATLAB code is: > imComplement = imcomplement(image);>> img8Bit = im2uint8(imComplement); where image is 16 bit

Viewing all articles
Browse latest Browse all 41027


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>