Hiding the 0 pixel values from the image in display

6 vues (au cours des 30 derniers jours)
Ahsan Abbas
Ahsan Abbas le 31 Juil 2015
Commenté : Ahsan Abbas le 1 Août 2015
Hello, i have a binary image and don't want to show the 0 pixels values in display, so i can superimpose it into an other image how i can do that ? I change the transparency of the image but its for the whole image, The picture is shown below for illustration. Blue portion represent the 0 pixel values and brown to 1...

Réponse acceptée

Walter Roberson
Walter Roberson le 31 Juil 2015
image(YourMatrix, 'AlphaData', YourMatrix)

Plus de réponses (0)

Catégories

En savoir plus sur Images 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!

Translated by