Can not use CV_32UC1

后端 未结 2 2014
长发绾君心
长发绾君心 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:33

    Here you can find a complete list of matrix data types.

    http://opencv-srf.blogspot.com/2010/09/opencv-basics.html

    According to that article, 32 bit depth matrices should be signed or float. OpenCV does not support unsigned 32 bit depth matrices.

提交回复
热议问题