Can not use CV_32UC1

后端 未结 2 2016
长发绾君心
长发绾君心 2021-01-13 00:12

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 );
         


        
2条回答
  •  鱼传尺愫
    2021-01-13 00:28

    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.

提交回复
热议问题