I need to store 32 bit unsigned integers in a matrix.
When I try to create the matrix:
Mat frameV(frameT1.rows-2*R, frameT1.cols-2*R, CV_32UC1 );
this gives compilation error :
error C2065: 'CV_32UC1' : undeclared identifier
Although CV_8UC1 works but I need CV_32UC1.
I am using MSVC 2010 and OpenCV 2.4.3.
There is no such type as
CV_32UC1. This is because OpenCV does not support 32 bitunsigned inttype. The largest integral type supported by OpenCV is 32 bitintwhich can be specified by theCV_32SC1.