如何在Opencv Mat中访问特定单元格,键入 UINT16 我尝试了下面的,但没有任何作用。
depthV = depthIm.at<int>(i, j);
depthV = depthIm.at<UINT16>(i, j);
depthV = depthIm.at<float>(i, j);
depthV = depthIm.at<double>(i, j);
答案 0 :(得分:0)
int depthV = depthIm.at<unsigned short>(i, j);