image mask

I want to plot a certain region in color on top of another gray scale image. Is there a way in matlab to make certain pixels in an image transparent?

답변 (2개)

Walter Roberson
Walter Roberson 2012년 2월 10일

0 개 추천

For objects of type image, you can set() the AlphaData property to an array the same height and width as the image, with 0 being fully transparent and 1 being fully opaque.

카테고리

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

태그

질문:

2012년 2월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by