Image pre-processing to remove noise
    6 vues (au cours des 30 derniers jours)
  
       Afficher commentaires plus anciens
    
Hi. Is there any image pre-propcessing technique to remove noise from binary images? Please see attached image, I want to remove the objects that are not very straight lines and are connected together, a cxongregation of pixels that look like small circles in the image. 
Any hints with MATLAB commands can really help.
Thanks.
0 commentaires
Réponse acceptée
  KALYAN ACHARJYA
      
      
 le 30 Mai 2021
        
      Modifié(e) : KALYAN ACHARJYA
      
      
 le 30 Mai 2021
  
      Absolutely possible, you can remove the white pixels based on area (Extract objects from binary image by size) and do some AND or OR logical Operation to get the resultant image.
4 commentaires
  Image Analyst
      
      
 le 30 Mai 2021
				How did you get your binary image, bw?  By thresholding your original gray scale image?  It should be logical then.  You can't call it on a gray scale image.
bw = grayImage < 100; % or whatever
bw2 = bwpropfilt(bw, 'area', p, direction, conn);
Plus de réponses (0)
Voir également
Catégories
				En savoir plus sur Image Processing Toolbox dans Help Center et File Exchange
			
	Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
