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
GetOrgChart 2.5.3
AnyGantt JS Gantt Charts 8.6.0
AnyChart JS Charts and Dashboards 8.6.0
Multi Vendor Ecommerce Script & Apps 4.0
Magento 2 Inventory Management Extension 1.0
Yipit Clone Script - Daily Deals Software 1.0.2
Devart Excel Add-in for Oracle 1.7
Devart Excel Add-in for Freshdesk 1.7
Devart Excel Add-in for G Suite 1.7
C# QR Code Generator 4.0.2.2
Salesforce WordPress Customer Portal 3.2.0
Single Leg MLM 1.2.1
OzGIS 14.6
Quick Maps For Dynamics CRM 3.1
Job Board Software 4.2
Top Code
GnuWin64 64
MCU 8051 IDE 1.4.7
secscan 1.0
Bus Booking Script - i-Netsolution 1.0.2
Remote Desktop Control 1.6.0.70
nnctrl 1.0
SchoolPlus 1.0
USPExpress Parser 2.01
WebBoard - Standard Edition 7.0
RBarcode 1D and 2D for .NET
Interpreter of C++ in JAVA language 120
HTML5 Video Player - jQuery Plugin, Ajax XML 1.0
Automated Build System Framework 1.0
Huffman Coding and Arithmetic Coding 1.1
ModLink 2.20
Top Rated
VisualNEO Web 2018.12.15
Paste phpSoftPro 1.4.1
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
PHP GZ Blog Script 1.1
ATN Jobs Software 4.0
Region Adjacency Graph (RAG) 1.0
File ID: 80780






Region Adjacency Graph (RAG) 1.0
Download Region Adjacency Graph (RAG) 1.0http://jlearn.sourceforge.net/Report Error Link
License: Shareware
File Size: 10.0 KB
Downloads: 14
Submit Rating:
Region Adjacency Graph (RAG) 1.0 Description
Description: Computes region adjacency graph of a labeled 2D or 3D image.

Two regions are considered as neighbor if they are separated by a background (i. e. with color 0) pixel in the horizontal or vertical direction, as well as depth direction for 3D images.

The result is a N*2 array, containing 2 indices for each couple of neighbor regions.

usage:
ADJ = imRAG(IMG);
ADJ has the format [LBL1 LBL2], LBL1 and LBL2 being vertical arrays the same size.

LBL1 is given in ascending order, LBL2 is given in ascending order for each LBL1. Ex :
[1 2]
[1 3]
[1 4]
[2 3]
[2 5]
[3 4]

Alternative syntax:
[NODES, ADJ] = imRAG(IMG);
Return two arrays: the first one is a [N*2] array containing centroids of the N labeled region, and ADJ is the adjacency previously described.

For 3D images, the node array is [N*3].

License: Shareware

Related: arrays, Format, imragimg, indices, couple, Usage, ascending, Order

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

File Size: 10.0 KB

Downloads: 14



More Similar Code

Given a list of points that represents an object in a plane, the points are rotated to fit within the smallest square possible. This was developed to display functions of a linearly bounded region of a two-dimensional parameter space with the most samples possible within the region. A graph of box size vs. angle and a graph of the rotated object within the box can also be displayed.



Simple GUI for drawing a undirected vertex-edge network/graph. Adjacency matrix for the graph displays in the command line.



Edit a graph or draw a new one with this GUI.

Usage:
>> graph_gui;
or
>> graph_gui(A,xy);

Controls:
Use the radio buttons to select an action:
1. To DRAW a new VERTEX, select 'Draw' and...



The purpose of this recipe is to look at algorithmic graph theory from an object-oriented perspective.

A graph is built on top of a dictionary indexed by its vertices, each item being the set of neighbours of the key vertex.
This...



MINimal CONNECTivity (adjacency) matrix for (X,Y) points on a plane, and/or graph of connections.

Needs CLINE.

Applications: graph theory, optimal traffic, astronomy (e.g. if you
want to see a tree of connected stars...



Griffon's 3D Graph Component is VCL component allows you to visualize data by plotting a highly customizable 3D Graph. It combines the power of OpenGL with ease of use of VCLcomponents.



There are 3 chaotic functions to graph as examples.

Graph of function (0) is a curve.
Graph of function (1) is a group of lines.
(Both are Xn+1 = f(Xn) type functions.)

Graph of function (2) on the other hand is a...



Very simple depth first search and breath first graph traversal. This is based on the find_path written by Guido van Rossen.



Graph Game is an implementation of the Shannon switching game.

It is a game for two players. The first player selects edges of the graph trying to connect two highlighted nodes while the second player removes unselected edges. AI is...



The 2D / 3D Area Graph provides both a client and server side solution for the incorporation of area graphs and charts into web pages. It provides versatile components so that web authors and Java developers can easily build and publish dynamic...

User Review for Region Adjacency Graph (RAG)
- required fields
     

Please enter text on the image