Overlaying a partially transparent binary over an RGB image?

1 visualizzazione (ultimi 30 giorni)
As the title suggests, I'm trying to overlay a binary mask over an RGB image to verify segmentation. How do I make the binary mask partially transparent so that I can see what's underneath?
Thank you.
  1 Commento
Jan
Jan il 19 Ago 2012
It depends on what you are doing. Please post, what "overlay a binary mask" means as Matlab code.

Accedi per commentare.

Risposta accettata

Image Analyst
Image Analyst il 19 Ago 2012
See the example given by the leader of the Image Processing team:

Più risposte (1)

Walter Roberson
Walter Roberson il 19 Ago 2012
If you are creating an image object, such as by image() or imagesc() or imshow(), then set the AlphaData property of the overlay image.

Categorie

Scopri di più su Display Image 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!

Translated by