Code covered by the BSD License

### Highlights from Demo files for "Algorithm Development with MATLAB" Webinar

4.33333
4.3 | 7 ratings Rate this file 32 Downloads (last 30 days) File Size: 329 KB File ID: #30973 Version: 1.1

# Demo files for "Algorithm Development with MATLAB" Webinar

### Jiro Doke (view profile)

06 Apr 2011 (Updated )

These are the demo files for "Algorithm Development with MATLAB" Webinar held on April 5, 2011.

File Information
Description

The example is on developing an algorithm for detecting an object (green ball) in MATLAB. The demo highlights
* image import (and video import)
* image visualization
* simple image processing
* automatic report generation
* GUI building
* deploying stand alone application

You can find the recording of the Webinar here:
http://www.mathworks.com/wbnr55833

Required Products Image Acquisition Toolbox
Image Processing Toolbox
MATLAB Compiler
MATLAB release MATLAB 7.11 (R2010b)
Other requirements The main demo only requires MATLAB and Image Processing Toolbox. Applying the algorithm on live data requires Image Acquisition Toolbox, and deploying requires MATLAB Compiler.
28 May 2013 Jiro Doke

### Jiro Doke (view profile)

@jayesh,

The "~" notation was introduced in R2009b. Just replace "~" with an arbitrary name, e.g. "tmp".

Comment only
18 Apr 2013 JAY R

### JAY R (view profile)

in the find ball script i get error on the 52 line that is after the else, kindly answer this. I am using R2009a version

%% Find center
% Now we are using REGIONPROPS to extract the centroid of the group of
% pixels representing the ball.
s = regionprops(ball1, {'centroid','area'});
if isempty(s)
error('No ball found!');
else
[~, id] = max([s.Area]);
hold on, plot(s(id).Centroid(1),s(id).Centroid(2),'wp','MarkerSize',20,'MarkerFaceColor','r'), hold off
disp(['Center location is (',num2str(s(id).Centroid(1),4),', ',num2str(s(id).Centroid(2),4),')'])
end

Comment only
31 Mar 2012 BALA KRISHNA

### BALA KRISHNA (view profile)

gud.....

30 Mar 2012 Kamran

### Kamran (view profile)

Good job. Thanks

14 Feb 2012 Eva Bal

### Eva Bal (view profile)

12 Dec 2011 Tejaswini K

### Tejaswini K (view profile)

12 Dec 2011 Tejaswini K

### Tejaswini K (view profile)

01 May 2011 sanjay

very interactive