Visualize output of BWLABEL

The function VISLABELS is used to visualize the output of BWLABEL.

You are now following this Submission

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 (2026). Visualize output of BWLABEL (https://www.mathworks.com/matlabcentral/fileexchange/19665-visualize-output-of-bwlabel), 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.0.1

Updated license

1.0.0.0