Code covered by the BSD License  

Highlights from
Visualize output of BWLABEL

4.4

4.4 | 5 ratings Rate this file 36 Downloads (last 30 days) File Size: 1.88 KB File ID: #19665
image thumbnail

Visualize output of BWLABEL

by

 

21 Apr 2008 (Updated )

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

| Watch this File

File Information
Description

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])

Required Products Image Processing Toolbox
MATLAB release MATLAB 7.6 (R2008a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (6)
27 May 2013 Micofludics

Works great. I like the explanations provided inside the m-file as well. Thanks!

12 Dec 2011 Fer  
28 Aug 2008 Paulo Camboim

Great! helped a lot for me on learning connected components.

Excellent

04 Jul 2008 Peter E

works great for me. exactly what I was looking for. thanks a lot for this.

28 May 2008 Steve Eddins

Saurabh - I give your bug report 2 stars. :-) There isn't enough information there for it to be useful. If you had included specific reproduction steps, I might be able to diagnose the problem. Also, please note that I do not normally test my File Exchange submissions on 4-year-old versions of MATLAB.

20 May 2008 Saurabh Sharma

its not qorking for me.. i use matlab 13 sp1
Warning: Input arguments must be scalar.
> In C:\Documents and Settings\501633799\Desktop\New Folder\patent_implementation\vislabels.m at line 27
Warning: Input arguments must be scalar.
> In C:\Documents and Settings\501633799\Desktop\New Folder\patent_implementation\vislabels.m at line 27
??? In an assignment A(I) = B, a matrix A cannot be resized.

Error in ==> C:\Documents and Settings\501633799\Desktop\New Folder\patent_implementation\vislabels.m
On line 28 ==> I(L == 0) = background_shade;

Contact us