Is it possible to access the alpha value from an RGB image
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
i want to measure transparency of a hazy or foggy image.is there any other parameter that gives me the information of transparency.
0 Commenti
Risposte (2)
Ameer Hamza
il 13 Giu 2020
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 Commenti
Vedere anche
Categorie
Scopri di più su Lighting, Transparency, and Shading in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!