Adjacency vs. Connectivity

12 visualizaciones (últimos 30 días)
med-sweng
med-sweng el 17 de Feb. de 2011
Is is the same when talking about "Adjaceny" and "Connectivity"? Or, they are totally different terms?
Thanks.
  1 comentario
David Young
David Young el 17 de Feb. de 2011
I don't know whether my answer to your earlier question about adjacency and connectivity in images was helpful to you, so I don't know whether to reply.

Iniciar sesión para comentar.

Respuestas (2)

Walter Roberson
Walter Roberson el 17 de Feb. de 2011
An adjacency matrix is usually a binary matrix with a 1 indicating that the two vertices have an edge between them. A connectivity matrix is usually a list of which vertex numbers have an edge between them. Adjacency matrixes are easier to compute certain kinds of algorithms over, but may require more storage than a connectivity matrix (especially if the vertex degrees are low.)
Either kind of matrix can be modified to have weight (cost) information instead of just "there is a vertex" information.
  1 comentario
David Young
David Young el 17 de Feb. de 2011
I suspect, in the light of earlier questions, that Mr Abder-Rahman is asking about images rather than graphs.

Iniciar sesión para comentar.


Sean de Wolski
Sean de Wolski el 17 de Feb. de 2011
It depends on what you're talking about; but probably no. Adjacent objects are connected in spatial dimension but not as an object. Connected pixels (or voxels) are part of the same object and touching via connectivity.

Categorías

Más información sobre Graph and Network Algorithms en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by