Image Processing ( calculate perimeter)
4 ビュー (過去 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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/145262/image.jpeg)
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)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!