【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
相關文章
相關標籤/搜索