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!
