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 bit unsigned int
type. The largest integral type supported by OpenCV is 32 bit int
which can be specified by the CV_32SC1
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With