image mask

10 ビュー (過去 30 日間)
Isabella
Isabella 2012 年 2 月 10 日
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 日
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.

Image Analyst
Image Analyst 2012 年 2 月 10 日

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by