很多时候,我们需要知道每个函数的运算周期,以提高程序的运行效率.知道运行时间对于图像算法处理很重要 Halcon提供相关的算子,我们先来看代码: **获取图像处理时间 read_image(Image,'fuse')//读取图像 count_seconds(Seconds)//读取时间 threshold(Image, Region, , )//阈值分割 count_seconds(Seconds1)//读取时间 PTime:=(*(Seconds-Seconds1))//计算阈值分割时间 co…