Image illumination based mask