I\'m working on an Image Processing Algorithm that involves placing a mask on an image and hiding certain regions as follows,
Image 1