Hiding the 0 pixel values from the image in display

14 ビュー (過去 30 日間)
Ahsan Abbas
Ahsan Abbas 2015 年 7 月 31 日
コメント済み: Ahsan Abbas 2015 年 8 月 1 日
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...

採用された回答

Walter Roberson
Walter Roberson 2015 年 7 月 31 日
image(YourMatrix, 'AlphaData', YourMatrix)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by