segmentation
version 1.0.1 (1.32 KB) by
Carlos Sanchez
This function segments an image using Otsu binarization
This function performs image segmentation according to this procedure
1.Binarization of the image using Otsu method
2. Image dilation.
3. Hole filling.
4. Image erosion.
5. Selection of the biggest region.
6. Contour extraction
It receives the image and kernel size for dilation and erosion.
Returns the segmentation mask as well as the segmented image
Cite As
Carlos Sanchez (2022). segmentation (https://www.mathworks.com/matlabcentral/fileexchange/70066-segmentation), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2018b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Tags
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.