Image Processing ( calculate perimeter)
조회 수: 2 (최근 30일)
이전 댓글 표시
How do I now calculate the perimter of this hand . I've got the left image using bmarea and the one on the right is when imclose is used
How do I now find the perimeter as shown on the left? I've got the outline what should i do now ?
thank u

댓글 수: 0
답변 (2개)
Teja Muppirala
2011년 4월 10일
Use the REGIONPROPS function.
I = peaks(500) > 3;
imshow(I);
P = regionprops(I,'perimeter');
P.Perimeter
댓글 수: 7
Sean de Wolski
2011년 4월 13일
cprops(:).Perimeter
Will list off the six perimeters (one for each of the six binary objects)
참고 항목
카테고리
Help Center 및 File Exchange에서 White에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!