HTuple pointer, type, width, height;
//下面这个语句的PNG即为HObject类型
HOperatorSet.GetImagePointer1(PNG, out pointer, out type, out width, out height);
HImage image = new HImage();
//这样HObject就转成HImage了
image.GenImage1(type, width, height, pointer);
c#,Halcon_HObject双向转换HImage
最新推荐文章于 2024-09-21 07:00:00 发布