Halcon学习笔记:处理多张图片
发布时间
阅读量:
阅读量
1.第1种方法
对文件路径数组进行逐项访问
path:='E:/images1/'
ImagePath:=[]
ImagePath[0]:='a000.bmp'
ImagePath[1]:='a001.bmp'
ImagePath[2]:='a002.bmp'
ImagePath[3]:='a003.bmp'
ImagePath[4]:='a004.bmp'
ImagePath[5]:='a005.bmp'
ImagePath[6]:='a006.bmp'
ImagePath[7]:='a007.bmp'
for i:=0 to 7 by 1
read_image(Image,path + ImagePath[i])
endfor
2.第2种方法
for i:=0 to 7 by 1
read_image(Image,'E:/images1/'+i+'.bmp')
endfor
全部评论 (0)
还没有任何评论哟~
