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

Is there a reason why OpenCV does not support (CV_32U) 32 bit depth unsigned integer Mat?

$
0
0
For optimization purposes, I'm avoiding the usage of floating numbers, while maintaining a good enough precision. Thus, I want to use 32 bit depth unsigned integer along with Mat data structure. However, from the [basic_structures.html](http://docs.opencv.org/modules/core/doc/basic_structures.html) documentation, I didn't find CV_32U. Is there a reason why OpenCV does not support it for Mat data structure? A complete list of matrix types contains the following values: CV_8U - 8-bit unsigned integers ( 0..255 ) CV_8S - 8-bit signed integers ( -128..127 ) CV_16U - 16-bit unsigned integers ( 0..65535 ) CV_16S - 16-bit signed integers ( -32768..32767 ) CV_32S - 32-bit signed integers ( -2147483648..2147483647 ) CV_32F - 32-bit floating-point numbers ( -FLT_MAX..FLT_MAX, INF, NAN ) CV_64F - 64-bit floating-point numbers ( -DBL_MAX..DBL_MAX, INF, NAN )

Viewing all articles
Browse latest Browse all 41027

Trending Articles



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