I have detected boundaries of an image and I would like to detect the corners for that boundary image(Having boundaries of image).
12 ビュー (過去 30 日間)
古いコメントを表示
BW = imread('blobs.png'); [B,L,N] = bwboundaries(BW); figure; imshow(BW); hold on; for k=1:length(B), boundary = B{k}; if(k > N) plot(boundary(:,2),... boundary(:,1),'g','LineWidth',2); else plot(boundary(:,2),... boundary(:,1),'r','LineWidth',2); end end
1 件のコメント
B.k Sumedha
2015 年 7 月 9 日
編集済み: B.k Sumedha
2015 年 7 月 9 日
U can use the corner function to detect the corners.
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Graph and Network Algorithms についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!