Transparency
1 回表示 (過去 30 日間)
古いコメントを表示
Hi,
Is it possible to make a part of the image transparent in matlab? Is there any specific function in the Image processing toolbox?
Thanks,
Priya
回答 (2 件)
Walter Roberson
2011 年 6 月 3 日
Every image object has an AlphaData property. There is no specific function to set this, but you can use set().
If you display the image using image() or imagesc() then you can add an 'AlphaData' option to the call,
image(YourImage,'AlphaData',TheAlphaValues)
Alpha values range from 0 (completely transparent) to 1 (completely opaque)
0 件のコメント
Sean de Wolski
2011 年 6 月 3 日
If you look at:
doc imwrite
PNG and GIF files both support transparency, the doc explains how to set it.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Lighting, Transparency, and Shading についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!