C#与Halcon联合编程 HObject转OpenCVSharp Mat
public static Mat HImageToMat(HObject hobj){ try { Mat pImage; HTuple htChannels; HTuple cType = null; HTuple width, height; width = height = 0; htChannels = null; HOperatorSet.CountChannels(hobj, out htChannels); if (htChannels.Lengt.
原创
2020-05-18 14:33:04 ·
2106 阅读 ·
2 评论