No BSD License  

Highlights from
Getting a list of files and image batch processing

Be the first to rate this file! 6 Downloads (last 30 days) File Size: 2.87 KB File ID: #18877
image thumbnail

Getting a list of files and image batch processing

by Marco Zuliani

 

21 Feb 2008 (Updated 30 May 2008)

Grep-like and image batch processing functions

| Watch this File

File Information
Description

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);

Required Products Image Processing Toolbox
MATLAB release MATLAB 7.4 (R2007a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
22 Feb 2008

Typo

30 May 2008

Updates

Tag Activity for this File
Tag Applied By Date/Time
image batch processing Marco Zuliani 22 Oct 2008 09:50:16
regular expression Marco Zuliani 22 Oct 2008 09:50:16
grep Marco Zuliani 22 Oct 2008 09:50:16

Contact us at files@mathworks.com