How to convert binary image to graph?!
古いコメントを表示
Hi every body...
Hi everybody,
Can you please help me to convert binary image results from Laplacian of Gaussian (LOG) filter. to graph?!
I don't know what function can perform like such operation, would you please help me;
Thanks A lot.....
回答 (2 件)
Youssef Khmou
2013 年 7 月 1 日
hi,
You can convert the image to graph by simply plot the result as vector or matrix :
I=imread('circuit.tif');
figure, plot(I);
figure, plot(I(:)), title(' Mapping operator');
BB=im2bw(I);
figure, plot(BB);
F=sparse(BB);
figure, spy(F);
Many other possibilities do exist, try those above and see .
3 件のコメント
Image Analyst
2013 年 7 月 2 日
編集済み: Image Analyst
2013 年 7 月 3 日
The graph seems like it used random locations from only the boundary. I have no idea why -- but she may need to call bwboundaries() or bwperim() to get the boundary.
Mariam Sheha
2013 年 7 月 3 日
Image Analyst
2013 年 7 月 3 日
It looks like the log filter is just one big region. Not sure why there are multiple regions. Then they somehow get random (or so it appears) points from the perimeter and then the next step is somehow they have multiple small regions outlined in green. I have no idea how they went from the log image to the graph to the cyclic subgraphs (multi-region) images. Maybe you do. Why are there multiple regions?
Image Analyst
2013 年 7 月 1 日
0 投票
Neither do I. You'd have to supply more information. Why do you want to do that anyway?
2 件のコメント
Mariam Sheha
2013 年 7 月 1 日
編集済み: Image Analyst
2013 年 7 月 1 日
Image Analyst
2013 年 7 月 1 日
It's not clear from the figure. You'd have to read the paper more carefully.
カテゴリ
ヘルプ センター および File Exchange で Get Started with Image Processing Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
