I want to mask some area (Blue and Red) in an image, I tried different methods but I couldn't get the solution that I want.
Here's the result that I want:
Please explain the code because I really want to learn how it works and implement it in my own understanding. Any helps ? Thanks