Set min max to 0, 255 for rgb image.