Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Batch Processing Images

Subject: Batch Processing Images

From: Cory

Date: 3 Dec, 2010 19:24:05

Message: 1 of 3

I am trying to allow the user to pick which files to be batch processed, but am unsure how to break into batch processing once they are selected. I understand that I can use uigetfile to obtain multiple images, but I don't know how to handle them further. Any help or suggestions are appreciated. Thank you!

Subject: Batch Processing Images

From: Sean de

Date: 3 Dec, 2010 19:34:20

Message: 2 of 3

"Cory " <cory.hayes@gkndriveline.com> wrote in message <idbg4l$jd5$1@fred.mathworks.com>...
> I am trying to allow the user to pick which files to be batch processed, but am unsure how to break into batch processing once they are selected. I understand that I can use uigetfile to obtain multiple images, but I don't know how to handle them further. Any help or suggestions are appreciated. Thank you!

Perhaps this will help:
http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F

Subject: Batch Processing Images

From: ImageAnalyst

Date: 3 Dec, 2010 20:06:20

Message: 3 of 3

On Dec 3, 2:24 pm, "Cory " <cory.ha...@gkndriveline.com> wrote:
> I am trying to allow the user to pick which files to be batch processed, but am unsure how to break into batch processing once they are selected. I understand that I can use uigetfile to obtain multiple images, but I don't know how to handle them further. Any help or suggestions are appreciated. Thank you!

---------------------------------------------------------------------------
Try MAGIC:
http://www.mathworks.com/matlabcentral/fileexchange/24224
It does exactly that - batch processes images in a nice GUI format
with lots of flexibility to add or change radio buttons, checkboxes,
etc.

Description

This GUI will help the novice user get up to speed very quickly on
using GUI-based applications. Everything is laid out in a very simple
Step 1, Step 2, Step 3, etc. layout. It is a very good starting point
for a typical image analysis application. This application uses GUIDE
to do the user interface design, and has most of the basic controls
such as buttons, listboxes, checkboxes, radio buttons, scrollbars,
etc. It allows the user to select a folder of images, select one or
more images and display them, to select a series of options, and to
individually or batch process one or more images. The user can
optionally apply a mask (region of interest) to the image so that only
the area within the mask will be analyzed. The results are optionally
sent to Excel. In this demo, I do some very basic particle sizing but
in use, the user would replace that simple demo code in the function
AnalyzeSingleImage() with their own code. Works with Windows or Unix
since paths are all forward slashes. Requires the Image Processing
Toolbox to do the simple particle sizing demo, but if you delete that
demo code before using it, then the IP toolbox would not be required
and it would still demonstrate the basic GUI-based file processing
functionality.

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us