Image Segmentation Tutorial
version 1.7.0.0 (10.7 KB) by
Image Analyst
Image Processing Tutorial to demonstrate the basic concepts to beginner users.
Perfect for the beginner, this demo illustrates simple object detection (segmentation, feature extraction), measurement of various characteristics (area, etc.), and filtering (extracting only certain objects).
First it finds all the objects (coins), then filters results to pick out objects of certain diameters. 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.
Requires the Image Processing Toolbox because it demonstrates some functions supplied by that toolbox, plus it uses the "coins" demo image supplied with that toolbox.
Tested with R2008b through R2022a.
Cite As
Image Analyst (2022). Image Segmentation Tutorial (https://www.mathworks.com/matlabcentral/fileexchange/25157-image-segmentation-tutorial), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2022a
Compatible with R2008b and later releases
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: Cell_Analyzer, SimpleColorDetectionByHue(), Image segmentation using fast fuzzy c-means clusering, M-code for leaf identification
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.