How to convert binary image to graph?

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.....

 채택된 답변

Kevin
Kevin 2013년 7월 2일

0 개 추천

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

Mariam Sheha
Mariam Sheha 2013년 7월 3일
I Think what you recommend is just brilliant , Really i am very very thankful....but would you please inform me more about how to get that (L)... assume that D is the matrix i got after "Laplacian" filter what is the adjacency matrix??!!
But really (gplot) is just perfect recommendation THANK YOU :)
Kevin
Kevin 2013년 7월 3일
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 2013년 7월 3일
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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Spline Postprocessing에 대해 자세히 알아보기

제품

질문:

2013년 6월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by