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

Converting pixel data from MatLab to something useable in OpenCV4Android

$
0
0
So I have a bunch of data from MatLab in a 16bit format... Values like Red: 42676, Green: 60145, Blue: 38758 and I'm trying to convert it to something usable in OpenCV as my values coming back are like 238.38. I'm at a bit of a loss how to make those numbers match up... Any idea's on how to convert the MatLab data would be appreciated. edit: Is it as simple as dividing by 256?

Viewing all articles
Browse latest Browse all 41027

Trending Articles



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