How to find ht:width ratio of a connected component?
조회 수: 1 (최근 30일)
이전 댓글 표시
Application: Face detection by skin color I have separated out the connected components in a BW image. All I want to do is find out the ratio of height:width ratio of individual component. The Matlab version I am using is 2010. Please help asap.
댓글 수: 0
채택된 답변
David Young
2012년 2월 7일
Have a look at regionprops. It will give you an aspect ratio for each blob, or the bounding box.
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!