How to convert binary image to graph?

11 visualizaciones (últimos 30 días)
Mariam Sheha
Mariam Sheha el 30 de Jun. de 2013
Hi everybody,
Can you please help me to convert binary image results from _Laplacian of Gaussian (LOG) filter._ to graph?!
I don't know how to perform like such operation;
Thanks A lot.....

Respuesta aceptada

Kevin
Kevin el 2 de Jul. de 2013
So this is a Laplacian matrix? I suggest you decompose this: L=D-A, where D is the degree matrix and A is the adjacency matrix. Then use gplot, which graphs a adjacency matrix as a set of coordinates in a plane.
"help gplot" is your friend
KD
  3 comentarios
Kevin
Kevin el 3 de Jul. de 2013
It's easy to get L if you have A, but I don't think you can recover L from D. D is a diagonal matrix that has as the ith entry, the sum of the ith row of A.
Mariam Sheha
Mariam Sheha el 3 de Jul. de 2013
what i had now is a binary image results from gaussian filter (as attached), do you know how to convert like such matrix to adjacency matrix??!! http://imageshack.us/content_round.php?page=done&l=img163/9633/j1m.png
Thanks in advance

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Spline Postprocessing en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by