How to convert binary image to graph?
3 ビュー (過去 30 日間)
古いコメントを表示
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.....
0 件のコメント
採用された回答
Kevin
2013 年 7 月 2 日
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 件のコメント
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.
その他の回答 (0 件)
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!