Repair dark images and contrast