File Exchange

image thumbnail


version 1.0.1 (1.32 KB) by Carlos Sanchez
This function segments an image using Otsu binarization


Updated 25 Jan 2019

View License

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 (2019). segmentation (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)




MATLAB Release Compatibility
Created with R2018b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.

Learn About Live Editor