Segmentation of image

Input black & white image is converted into segments.

You are now following this Submission

This function segment_parallel segments the input black & white image to segmented image. The segments are numbered as and when new segments comes up. The input image should have only 1s and 0s(use matlab command bw). The outputs are Largest Index used and segmented/labelled image
Example:
im=[1 1 1 0 0 0 0 0 1 1;1 1 0 0 1 0 0 1 1 1;1 1 0 0 1 1 0 1 0 0;0 0 0 1 0 1 1 1 1 1;0 0 0 1 1 1 0 0 0 0;0 0 0 1 1 0 0 0 0 0];
[Label, Index]=segment_parallel(im);

Author:Santhana Raj.A https://sites.google.com/site/santhanarajarunachalam/

Cite As

Santhana Raj (2026). Segmentation of image (https://uk.mathworks.com/matlabcentral/fileexchange/47787-segmentation-of-image), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: DIP lab6 lung cancer

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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