Hiding the 0 pixel values from the image in display

조회 수: 5 (최근 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 CenterFile Exchange에서 Images에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by