精选优质文档-倾情为你奉上示例:读取并处理图片halcon源码: 1: *读取图片 2: read_image(Image,D:/MyFile/C#/HalconCsExample/示例图片.jpg) 3: get_image_size(Image,Width,Height) 4: 5: *图像处理 6: rgb1_to_gray(Image,GrayImage)导出的代码(ImagePro): 1: / 2: / File generated by HDevelop for HALCON/DOTNET (C#) Version 10.0 3: / 4: / This file is intended to be used with the HDevelopTemplate or 5: / HDevelopTemplateWPF projects located under %HALCONEXAMPLES%c# 6: 7: using