Regionprops fails to identify binary image - ERROR
조회 수: 5 (최근 30일)
이전 댓글 표시
So I have a 'logical-binary' image I would like to perform region props on. The image consists of what you expect, 0's and 1's only. However, when I try to run regionprops on the image, all the centroids and Diameters are listed as NaN. Does the image need to be in a different format?
Thanks
채택된 답변
Adam
2016년 8월 25일
The help says the input must be a logical array - i.e. type logical, not just 0s and 1s in any data type.
추가 답변 (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!