How to convert binary image to graph?!
7 次查看(过去 30 天)
显示 更早的评论
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.....
0 个评论
回答(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-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
Neither do I. You'd have to supply more information. Why do you want to do that anyway?
2 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!