How do I find the radius and count of the black circles (blobs) in the image.
    4 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
    Abhilash Sukumari
 am 17 Mär. 2020
  
    
    
    
    
    Beantwortet: Image Analyst
      
      
 am 17 Mär. 2020
            The tricky part is that imfindcircles gets confused between the inner white circle and the boundary. How do I use edge detect on just the black circle ? I would like to completely transform this image into pure black and white image so that I can use imfindcircles to get the answers. Any advise is appreciated.

0 Kommentare
Akzeptierte Antwort
  Image Analyst
      
      
 am 17 Mär. 2020
        Just get rid of them:
% Invert mask so black is white.
mask = ~mask;
% Fill holes
mask = imfill(mask, 'holes');
No need to invert again and turn your object black since MATLAB only considers the white blobs when doing operations.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

