UI to control brightness and contrast values in raster properties,
attempt to fix contrast calculation