recognize count white dots in grey background
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Sezar
el 10 de Nov. de 2014
Comentada: Mohammad Abouali
el 10 de Nov. de 2014
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!
1 comentario
Respuesta aceptada
Mohammad Abouali
el 10 de Nov. de 2014
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 comentarios
Mohammad Abouali
el 10 de Nov. de 2014
cc.NumObjects would be the count of dots.
so one way to display it is:
disp(cc.NumObjects)
Más respuestas (1)
Image Analyst
el 10 de Nov. de 2014
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 comentarios
Ver también
Categorías
Más información sobre Image Segmentation and Analysis en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!