image thumbnail

Visualize output of BWLABEL

version 1.0.0.1 (1.88 KB) by Steve Eddins
The function VISLABELS is used to visualize the output of BWLABEL.

6.7K Downloads

Updated 01 Sep 2016

View License

VISLABELS is used to visualize the output of BWLABEL.

VISLABELS(L), where L is a label matrix returned by BWLABEL, displays each object's label number on top of the object itself.

Note: VISLABELS requires the Image Processing Toolbox.

Example:
bw = imread('text.png');
L = bwlabel(bw);
vislabels(L)
axis([1 70 1 70])

Cite As

Steve Eddins (2021). Visualize output of BWLABEL (https://www.mathworks.com/matlabcentral/fileexchange/19665-visualize-output-of-bwlabel), MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!