How to create a mask for the image
    9 vues (au cours des 30 derniers jours)
  
       Afficher commentaires plus anciens
    
I want to generate a mask for my image.How can I generate it?

The mask image should be like the below picture.

0 commentaires
Réponse acceptée
  Matt J
      
      
 le 23 Oct 2015
         Mask = (YourImage>threshold);
2 commentaires
  Ibrahim Usman
 le 30 Oct 2019
				How do you get the matrix dimensions for the image agree with the dimensions of the threshold?
  Image Analyst
      
      
 le 30 Oct 2019
				You don't.  Here, threshold is just a scalar.  No dimensions at all really, just a 1-by-1 scalar -- it's not an image with any dimensions.  So the "matrix dimensions for the image" do not need to agree with anything, since threshold is a scalar.
Plus de réponses (0)
Voir également
Catégories
				En savoir plus sur Author Block Masks 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!



