segmentation

This function segments an image using Otsu binarization

You are now following this Submission

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 (2026). segmentation (https://in.mathworks.com/matlabcentral/fileexchange/70066-segmentation), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.1

bugfix

1.0.0