how to find dent in a circle?
조회 수: 1 (최근 30일)
이전 댓글 표시
how to find dent in a circle?
댓글 수: 0
채택된 답변
Image Analyst
2013년 5월 8일
Not exactly sure what you mean by "find" - for example is it just a binary image of the dent alone, or is it an array of all the (row, column) pairs of pixels that comprise the dent. But anyway, you can just get a binary image of the bojects and then use bwconvhull
dentsImage = bwconvhull(binaryImage) - binaryImage; % Get image.
[rows columns] = find(dentsImage); % Get (y,x) coordinates.
댓글 수: 4
Image Analyst
2013년 5월 9일
I just ran it again and it works fine. What error did you get? You probably modified it so that it doesn't work.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Computer Vision with Simulink에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!