how to measure the wide of object in binary image ?
조회 수: 1 (최근 30일)
이전 댓글 표시
i have a binary image, and i want to measure the wide of object ( white pixel). how to measure it ? please help. thanks
댓글 수: 0
채택된 답변
Image Analyst
2016년 3월 2일
See my Image Segmentation Tutorial and see how I get the bounding box. http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
댓글 수: 11
Image Analyst
2016년 3월 4일
It gives you a structure array. Each structure in the array is a structure with field that correspond to the measurements you asked regionprops() to make. For example measurements(7) has all the measurements for blob #7, like Area, Centroid and BoundingBox: measurements(7).Area, measurements(7).Centroid, and measurements(7).BoundingBox.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Segmentation and Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!