It seems that in OpenCV the data type is intalways considered 32 bits. This is reflected in the documentation (for example, in the introduction ), as well as in the source code (for example, in the comments, modules/core/include/opencv2/core/cvdef.hand the fact that it defines uintas a 32-bit unsigned integer, but does not determine the corresponding signed type).
How does this not violate OpenCV on systems that are intnot 32 bits? Afterall, intonly 16 bits are guaranteed by standard.
I would expect OpenCV to define data types for all sizes it uses (as for int64), or use uint_8friends as well.
source
share