image mask
9 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(2 个)
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.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!