added checkbox to auto normalize the image to between 5% and 95%