increase image contrast with python.