White background (non-mask pixels)

This PR sets a white background (i.e. the non-masked pixels of a masked image) instead of black that we had till now. This is done by setting the values of the non-mask pixels equal to the maximum value of the masked pixels.