MATLAB: Overlaying a partially transparent binary over an RGB image

image processingImage Processing Toolbox

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.

Best Answer

See the example given by the leader of the Image Processing team:
Related Question