Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
Social Media Script 1.0
ByteScout PDF Renderer SDK 9.0.0.3079
Magento Mobile App Builder 2.0.0
Binary MLM Plan 1.0.2
Review Assistant 4.0
SSIS Data Flow Components 1.8
Maulik Shah 1.0
GetOrgChart 2.4.91
ODBC Driver for SQL Azure 2.4
EntityDAC 2.0
CarMax Clone Script 1.0
Mega Menu Magento 2 2.0
Luxand FaceSDK 6.5.1
Data Puppy Lite (64-bit) 1.0
Bytescout BarCode Reader SDK 10.1.0.1778
Top Code
Wired Ekleipo 1.0
Hotel Management - Full Board Version 6.55
HOW TO: Use Database and ASP Sessions to Implement ASP Security
Image Edge Detection Using Ant Colony Optimization 1.0
validate email address
HR-Leave Management 1.0
Flash Animated OsCommerce Templates
Online Food Ordeing System 1.0
KvCMS Content Management System 0.3
Fingerprint Minutiae Extraction 1.0
PHP MLM Software 2.0.1
Job Portal Website - Vevs.com 1.0
GnuWin64 64
PHP Point of sale 10.0
Netflix Clone 3.0
Top Rated
Output Messenger 1.8.0
Aliexpress Clone- Ec21 Script 1
Indiegogo Clone 3.0
Online Food Ordeing System 1.0
PHP Image Resize Script 1.0
Best Spotify Clone 1.0
Get Random Record Based on Weight 1.0.0
Travel Portal Script 9.29
Magento Product Designer 1.0
OFOS - Just Eat Clone Script 1.0
PrestaShop Upload Images Module 1.2.1
Trading Software 1.2.4
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Label connected components in 2-D array 1.0
File ID: 82126






Label connected components in 2-D array 1.0
Download Label connected components in 2-D array 1.0http://www.mathworks.comReport Error Link
License: Shareware
File Size: 10.0 KB
Downloads: 12
Submit Rating:
Label connected components in 2-D array 1.0 Description
Description: LABEL is a generalization of BWLABEL: BWLABEL works with 2-D binary images only, whereas LABEL works with 2-D arrays of any class.

L = LABEL(I,N) returns a matrix L, of the same size as I, containing labels for the connected components in I. Two adjacent components (pixels), of respective indexes IDX1 and IDX2, are connected if I(IDX1) and I(IDX2) are equal.

N can have a value of either 4 or 8, where 4 specifies 4-connected objects and 8 specifies 8-connected objects; if the argument is omitted, it defaults to 8.

Important remark:
-----------------------
NaN values are ignored and considered as background. Because LABEL works with arrays of any class, the 0s are NOT considered as the background.

Note:
------
The elements of L are integer values greater than or equal to 0. The pixels labeled 0 are the background (corresponding to the NaN components of the input array). The pixels labeled 1 make up one object, the pixels labeled 2 make up a second object, and so on.

[L,NUM] = LABEL(...) returns in NUM the number of connected objects found in I.

[L,NUM,SZ] = LABEL(...) returns a matrix SZ, of the same size as I, that contains the sizes of the connected objects. For a pixel whose index is IDX, we have: SZ(IDX) = NNZ(L==L(IDX)).

Examples:
----------
Enter "help label" in the Matlab Command Window for two examples.

------
http://www.biomecardio.com/matlab
-----

License: Shareware

Related: Input, labeled, Array, Object, Number, greater, integer

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 10.0 KB

Downloads: 12



More Similar Code

accumconncomps creates vectors by accumulating elements in one vector using the connected components in another vector of same size. Connected components are regarded as subsequent, identical elements in a vector.

Example:
Sum the values in val according to the connected components in cc.

cc = [1 1 2 1 1 1 3 3 3 4 2 2];
val = [2.3 1.2 5 3 2 5 3.2 4.5 2 ...
2.2 1.2 2.2];

[c,valnew] =...



The program can get the 2-D impulse response of a 2-D recursive discrete system in 2-D digital domain. For a 2-D recursive discrete system, the inverse 2-D z transform can be implemented by a 2-D IIR filter [1-3].
Copyright (C) Yang XIAO,...



Matlab implementation of a monodomain reaction-diffusion model in 2-D. The model equations are a variant of the Fitzhugh-Nagumo equations modified to simulate the cardiac action potential. The progression of the two normalized state variables,...



Takes an excel file, dumps out a series of CSV files (one for each sheet, named for the file and sheet) and a YAML file (an array of sheets, each sheet a dict containing the table_name and the table_data, a 2-d array of cell values).



gdopContour shows a psuedocolor image of the PDOP (GDOP in 2-D is referred to as PDOP). xmin/xmax/ymin/ymax are the limits on the plot. SVs is an [x,y] matrix showing the position of the "Space Vehicles" (GPS terminology). You can have...



2-D dos Game(like space commanders ) is a 2-d sprites based game.

It involves important concepts of game design issues such as timing a game, collision-detection etc. It is a DOS based game which uses MODE 13H which has a resolution of...



The program can get spatial-time response of 2-D Continuous-Discrete systems by taking inverse 2-D Laplace-z transform [1]. The detailed algorithm is provided in Ref. [1].
Copyright (C) Yang XIAO, BJTU, July 28, 2007, E-Mail:...



You can follow the examples given in the codes, to construct your 2-D
fuction in 2-D Laplace transform domain, insert it into the place of our examples, then you can get the inverse 2-D Laplace transform of your function.



LABEL is a generalization of BWLABEL: BWLABEL works with 2-D binary images only, whereas LABEL works with 2-D arrays of any class.

L = LABEL(I,N) returns a matrix L, of the same size as I, containing labels for the connected components...



The program can test the stability of 2-D face of an interval matrix.
Copyright (C) Yang XIAO, Beijing Jiaotong University, Aug.2, 2007, E-Mail: yxiao@bjtu.edu.cn.
By relying on a two-dimensional (2-D) face test, Ref [1,2] obtained a...

User Review for Label connected components in 2-D array
- required fields
     

Please enter text on the image