Hiding the 0 pixel values from the image in display

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개)

카테고리

도움말 센터File Exchange에서 Images에 대해 자세히 알아보기

제품

질문:

2015년 7월 31일

댓글:

2015년 8월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by