Is it possible to access the alpha value from an RGB image
2 ビュー (過去 30 日間)
古いコメントを表示
i want to measure transparency of a hazy or foggy image.is there any other parameter that gives me the information of transparency.
0 件のコメント
回答 (2 件)
Ameer Hamza
2020 年 6 月 13 日
If you have a png image, you can get transparency values using the 3rd output argument of imread()
[img, ~, alpha] = imread('https://upload.wikimedia.org/wikipedia/commons/4/47/PNG_transparency_demonstration_1.png');
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!