필터 지우기
필터 지우기

Controlling the sizes of particle analysis (counting dots)

조회 수: 1 (최근 30일)
Victoria
Victoria 2018년 7월 11일
I am trying to count the number of dots in an image (think upwards 3000 points), but I'd like to have a size range so that matlab will only count particles in that range and disclude all the others. Here is my current code:
figure, imshow (A);
B = bwboundaries(A);
imshow(A)
text(10,10,strcat('\color{green}Objects Found:',num2str(length(B))))
hold on
drawnow; % Force display to update immediately.
end
thank you!

답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Segmentation and Analysis에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by