Identifying circles that have black dots in them
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Is there any way to identify all the circles in this image and within that can we identify the circles that have black dots in them?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/523412/image.png)
For example can we identify the circles in red markup that have black dots and circles in blue markup those that dont.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/523417/image.png)
0 Commenti
Risposte (1)
KALYAN ACHARJYA
il 18 Feb 2021
The name of color is for human perception only. Are they absolutely black, if yes, after converting to a gray image, 0 should be a gray level? Please check, or you can check the corresponding coordinates, or 0 in all three color planes.
grayImage=rgb2gray(rgbImage);
data=grayImage==0;
imshow(data);
Next count the all disjoint white blobs.(Simple: See Morpho Operations)
If the level of black gray cannot be considered absolute black, then you can try with a slightly higher gray value.
grayImage=rgb2gray(rgbImage);
data=grayImage<=5; % Check the threshold value
imshow(data);
It is all about putting in more and more effort and achieving accurate results.
2 Commenti
KALYAN ACHARJYA
il 19 Feb 2021
Can you again clarify the logic "which cells to detect"?
I am expecting a clear statement for the condition (If Possible: Maths language is much better)
Vedere anche
Categorie
Scopri di più su Biomedical Imaging in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!