Getting a list of files and image batch processing

Grep-like and image batch processing functions

You are now following this Submission

get_file_list is a function to recursively retrieve files whose name match a given regular expression. imbatchconvert uses get_file_list to perform image batch processing. Example:

% batch cropping of the images

options.Func = 'imcrop';
options.FuncPar = [10 10 40 40];
options.Verbose = true;
options.NameSuffix = '_cropped';
src_dir = '/Users/zuliani/Research/TestImages/Wall/originals';
dst_dir = '/Users/zuliani/Research/TestImages/Wall/cropped';
idsrc = 'ppm';
iddst = 'jpg';
options = imbatchconvert(src_dir, idsrc, dst_dir, iddst, true, options);

Cite As

Marco Zuliani (2026). Getting a list of files and image batch processing (https://www.mathworks.com/matlabcentral/fileexchange/18877-getting-a-list-of-files-and-image-batch-processing), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

Updates