set max image value to non-mask pixels
Merge pull request #424 from nontas/white_background

White background (non-mask pixels)