Code covered by the BSD License  

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

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

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.

| Watch this File

File Information

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:

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.
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (9)
28 May 2013 Jiro Doke

Jiro Doke (view profile)


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!');
[~, 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),')'])

Comment only
31 Mar 2012 BALA KRISHNA


30 Mar 2012 Kamran

Kamran (view profile)

Good job. Thanks

14 Feb 2012 Eva Bal  
12 Dec 2011 Tejaswini K  
12 Dec 2011 Tejaswini K  
17 Oct 2011 Muhammad  
01 May 2011 sanjay

sanjay (view profile)

very interactive

08 Apr 2011 1.1

Updated link to recorded Webinar.

Contact us