Creating mask for Background in an image?

1 view (last 30 days)
Raju
Raju on 9 May 2019
Edited: Raju on 9 May 2019
I have a color image in which I want to assign/fill the background with a specific color than human faces in the same image. I create a mask by considering that the color should turn specific below a intensity limit; then use imshow. But ovelapping truns whole image balck and white. How do I fix this problem? I doubt the mask is chaged in binary. How do I convert back to RGB?

Answers (0)

Community Treasure Hunt

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

Start Hunting!