Hiding the 0 pixel values from the image in display

14 Ansichten (letzte 30 Tage)
Ahsan Abbas
Ahsan Abbas am 31 Jul. 2015
Kommentiert: Ahsan Abbas am 1 Aug. 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...

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 31 Jul. 2015
image(YourMatrix, 'AlphaData', YourMatrix)

Weitere Antworten (0)

Kategorien

Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by