5.0

5.0 | 1 rating Rate this file 350 downloads (last 30 days) File Size: 4.49 KB File ID: #25157

BlobsDemo

by Image Analyst

 

27 Aug 2009

Code covered by BSD License  

Image Processing Tutorial to demonstrate the basic concepts to beginner users.

Editor's Notes:

This file was selected as MATLAB Central Pick of the Week

Download Now | Watch this File

File Information
Description

Demo to illustrate simple blob detection, measurement, and filtering. Requires the Image Processing Toolbox (IPT) because it demonstrates some functions supplied by that toolbox, plus it uses the "coins" demo image supplied with that toolbox. If you have the IPT (you can check by typing ver on the command line), you should be able to run this demo code simply by copying and pasting this code into a new editor window, and then clicking the green "run" triangle on the toolbar.

First finds all the objects, then filters results to pick out objects of certain sizes. The basic concepts of thresholding, labeling, and regionprops are demonstrated with a simple example.

It's a good tutorial for those users new to MATLAB's image processing capabilities to learn on, before they go on to more sophisticated algorithms.

Also tested with R2009b (it still works!)

Required Products Image Processing Toolbox
MATLAB release MATLAB 7.7 (R2008b)
Zip File Content  
Other Files BlobsDemo.m,
license.txt
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
29 Aug 2009 us

an excellent and exceptionally well commented image processing demo by a seasoned ML user and senior CSSM citizen...

a few changes i'd make:
- put it into a function
  -> no need for the bad CLEAR ALL...
- make the figure size smaller -and-
- put an ECHO ON/OFF at the beginning/end of the demo
  -> for users to be able to enjoy the comments during run-time...

just a few thoughts
us

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
image processing Image Analyst 27 Aug 2009 14:34:47
demo Image Analyst 27 Aug 2009 14:34:47
potw Shari Freedman 05 Nov 2009 10:33:00
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com