file_path =  'D:/MATLAB/bin/IMAGES/test_t1024/';% 图像文件夹路径
img_path_list = dir(strcat(file_path,'*.tif'));%获取该文件夹中所有jpg格式的图像
img_num = length(img_path_list);%获取图像总数量
if img_num > 0 %有满足条件的图像
        for k = 1:img_num %逐一读取图像
            image_name = img_path_list(k).name;% 图像名
            Im=  imread(strcat(file_path,image_name));


            '''''''''''''''''
            处理操作
            '''''''''''''''''

        end
end

 

相关文章:

  • 2021-06-17
  • 2021-07-24
  • 2021-11-27
  • 2021-10-10
  • 2021-09-28
  • 2021-11-30
  • 2021-12-01
  • 2021-08-20
猜你喜欢
  • 2022-12-23
  • 2021-06-19
  • 2021-10-08
  • 2021-12-22
  • 2022-12-23
  • 2021-12-13
相关资源
相似解决方案