Getting a list of files and image batch processing

Grep-like and image batch processing functions
1.5K Downloads
Updated 30 May 2008

No License

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 (2024). 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 .

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0

Updates