1、单张图片的读取:read_image( : Image 图片名: FileName 存放地址: )
2、遍历文件夹下的所有图像文件
list_files ('C:/Users/MAQUE/Pictures/photo', ['files','follow_links'],ImageFiles)
//Suggested values: 'files'指定格式为文件文件, 'directories'文件夹, 'recursive'指定可以遍历子文件夹里面的文件, 'follow_links','max_depth 5'指定遍历深度, 'max_files 1000'指定遍历的最大文件数
tuple_regexp_select (ImageFiles,//['\\.(tif|tiff|gif|bmp|jpg|jpeg|jp2|png|pcx|pgm|ppm|pbm|xwd|ima)$','ignore_case'],ImageFiles) //选择符合规则的索引;\\.表示转义成.;指定的格式,输出文件命
for Index :=