image mask

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?

Respuestas (2)

Walter Roberson
Walter Roberson el 10 de Feb. de 2012

0 votos

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.

Etiquetas

Preguntada:

el 10 de Feb. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by