Borrar filtros
Borrar filtros

Is it possible to access the alpha value from an RGB image

2 visualizaciones (últimos 30 días)
aswathy pavithran
aswathy pavithran el 13 de Jun. de 2020
Respondida: Walter Roberson el 13 de Jun. de 2020
i want to measure transparency of a hazy or foggy there any other parameter that gives me the information of transparency.

Respuestas (2)

Ameer Hamza
Ameer Hamza el 13 de Jun. de 2020
If you have a png image, you can get transparency values using the 3rd output argument of imread()
[img, ~, alpha] = imread('');

Walter Roberson
Walter Roberson el 13 de Jun. de 2020


Más información sobre Lighting, Transparency, and Shading en Help Center y File Exchange.


Community Treasure Hunt

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

Start Hunting!

Translated by