Segmentation of image
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/
引用
Santhana Raj (2024). Segmentation of image (https://www.mathworks.com/matlabcentral/fileexchange/47787-segmentation-of-image), MATLAB Central File Exchange. 取得済み .
MATLAB リリースの互換性
プラットフォームの互換性
Windows macOS Linuxカテゴリ
- Image Processing and Computer Vision > Image Processing Toolbox > Image Segmentation and Analysis > Image Segmentation >
- MATLAB > Graphics > Images > Convert Image Type >
タグ
謝辞
ヒントを与えたファイル: DIP lab6 lung cancer
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!バージョン | 公開済み | リリース ノート | |
---|---|---|---|
1.0.0.0 |