A cropped image that has a single object that has been thresholded and converted to binary image. Is it best to use regionprops to find the area of that image or some other method?
조회 수: 1 (최근 30일)
이전 댓글 표시
A cropped image that has a single object that has been thresholded and converted to binary image. Is it best to use regionprops to find the area of that image or some other method?
댓글 수: 0
채택된 답변
Guillaume
2016년 8월 18일
If there is only one object in the binarised image, then sum(binaryimage) will be marginally faster than using regionprops.
It's hardly likely you'll notice the difference though.
댓글 수: 0
추가 답변 (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!