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
Database Workbench Pro 5.4.6
Extensibility Studio 3.0
Bytescout Spreadsheet SDK 3.0.0.1699
Magento 2 Admin Mobile App 1.0
Data Compare for MySQL 5.3
ODBC Driver for Zoho CRM 1.3
ODBC Driver for SugarCRM 1.3
Bytescout PDF To HTML SDK 9.0.0.3079
Azizi search engine script PHP 4.1.10
TaxiSoftr - Taxi Booking & Dispatch Software 1.0
VisualNEO for Windows 18.08.31
AnyMap JS Maps 8.4.0
ODBC Driver for MailChimp 1.3
OrgChart JS 3.0.7
AnyStock Stock and Financial JS Charts 8.4.0
Top Code
MATLAB Support Package for Arduino (aka ArduinoIO Package) 1.0
Stepping stone algorithum for solving the transhipment problem
Real Time Battle 1.1
Database Workbench Pro 5.4.6
Cuckoo Search (CS) Algorithm 1.0
Ping Pong Game Code Script 1.1
PHP Point of sale 10.0
Online Food Ordeing System 1.0
Restaurant Reservation System by StivaSoft 1.0
Aliexpress Clone- Ec21 Script 1
ActivePerl 5.8.4.810/5.6.1.638
Blind detection of the number of sources with a predicted eigenvalue approach 1.0
Scholarship Award System 1.2.71b
Network Traffic Monitor 0.7
Flipkart Clone Script 4.0.5
Top Rated
Output Messenger 1.8.0
Aliexpress Clone- Ec21 Script 1
Indiegogo Clone 3.0
Advanced MLM Software 1.2
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
PHP Point of sale 10.0
Travel Portal Script 9.29
Excel Add-in for Bigcommerce 1.6
Magento Product Designer 1.0
OFOS - Just Eat Clone Script 1.0
PrestaShop Upload Images Module 1.2.1
Trading Software 1.2.4
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