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
iScripts Multicart Enterprise 1.3
CodeCompare 5.1
Uber Clone Script 3.0
Readymade Crowdfunding Script 2.2
Advanced Airbnb Script 1.3.1
SuiteCRM WordPress Customer Portal 3.2.0
Custom Auto Numbering For Dynamics CRM 2.2
MLM Board Plan 1.3
Uber for Massage 2.0
Job Board Software 1.1
RentALL - Airbnb Clone | Built with ReactJS 2.6
VB.Net PDF 2020.6.0
Flowrigami 1.0.0
SentiVeillance SDK Trial 7.3.2020.03.02
Entity Developer 6.8
Top Code
iScripts MultiCart Enterprise 1.1
Availability Booking Calendar PHP 1.0
ATN Site Builder 3.0
ATN Resume Finder 2.0
Readymade Crowdfunding Script 1.0.2
PHP Review Script 1.0
ICPennyBid Penny Auction Script 4.0
Invoice Manager by PHPJabbers 3.0
Aglowsoft SQL Query Tools 8.2
Classified Ad Lister 1.0
Solid File System OS edition 5.1
Deals and Discounts Website Script 1.0.2
CodeCompare 4.2
SentiVeillance SDK Trial 7.3.2020.03.02
Job Board Software 4.2
Top Rated
phpEnter 5.1.
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
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
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