recognize count white dots in grey background
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi, i' m a college student, and i need your help. I have some images of Microscope (with white points) on gery background and i need to recognize the count of dots. can someone recommend some links about those problems?
thanks!
채택된 답변
Mohammad Abouali
2014년 11월 10일
Generally this should work. Use graythresh and im2bw to make a mask of white dots and then use bwconncomp to count them.
cc = bwconncomp(bw, 4)
cc.NumObjects
댓글 수: 2
Mohammad Abouali
2014년 11월 10일
cc.NumObjects would be the count of dots.
so one way to display it is:
disp(cc.NumObjects)
추가 답변 (1개)
Image Analyst
2014년 11월 10일
That's exactly what my Image Segmentation Tutorial does. Find it in my File Exchange Replace the standard coins demo image with yours and change the threshold value and you should be all set.
댓글 수: 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!