Opencv gamma correction