Effacer les filtres
Effacer les filtres

Controlling the sizes of particle analysis (counting dots)

1 vue (au cours des 30 derniers jours)
Victoria
Victoria le 11 Juil 2018
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!

Réponses (0)

Catégories

En savoir plus sur Image Segmentation and Analysis dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by