Getting a list of files and image batch processing
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
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Programming > Files and Folders > File Operations >
- Image Processing and Computer Vision > Image Processing Toolbox > Import, Export, and Conversion > Image Sequences and Batch Processing >
- Parallel Computing > Parallel Computing Toolbox > Big Data Processing >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | Updates |