I have detected boundaries of an image and I would like to detect the corners for that boundary image(Having boundaries of image).
조회 수: 2 (최근 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에서 DICOM Format에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!