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 38 Downloads (last 30 days) File Size: 329 KB File ID: #30973

# Demo files for "Algorithm Development with MATLAB" Webinar

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

@jayesh,

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

18 Apr 2013

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

31 Mar 2012

gud.....

30 Mar 2012

Good job. Thanks

14 Feb 2012
12 Dec 2011
12 Dec 2011
17 Oct 2011
01 May 2011

very interactive