【Halcon】图像BYTE数据生成 Mat 格式和 Hobject 格式

BYTE转换成Mat格式spa int nImgMatType; int nTmgMatType; if ( nImgType == 0 ) { nImgMatType = CV_8UC1; } else if ( nImgType == 1 ) { nImgMatType = CV_8UC3; } else { return 1; } if ( nTmgType == 0 ) { nTmgMat
相关文章
相关标签/搜索