bwlabel doesn't find a blob
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi all,
I have an image which I applied filtering on it and eneded up with the image on the right. I use bwboundaries and bwlabel to obtain the boundaries and blobs in this figure.
I clearly see that boundary #6 can correspond to a blob but bwlabel doesn't find this blob and shows the total number of lobs in this image as 5 instead of 6. Can somebody help please?
Thanks
댓글 수: 0
답변 (1개)
KALYAN ACHARJYA
2020년 1월 22일
편집: KALYAN ACHARJYA
2020년 1월 22일
댓글 수: 5
Image Analyst
2020년 1월 23일
imfill() would give you a totally white image with just one blob. The blobs are the white things, you know, not the black things. What do you want to label? The white things or the black regions? If you want black, you have to invert your image.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!