implement mask in screen to compute only parts of an image