How to overlay a binary mask over an rgb image?
Show older comments
I am trying to overlay a binary mask over an RGB color image. I want to change the white area of the mask to a transparent red area and put it over an rgb image.
For example:
image:
mask:
mask:
I want something similar to this:

I alredy tried this method but I couldn't figure it out. What is a simple way (no matter how slow) to do this?
1 Comment
Turlough Hughes
on 9 Jan 2020
What size is your mask and original image?
Accepted Answer
More Answers (0)
Categories
Find more on Display Image in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!