A Region-Wised Medium Transmission Based Image Dehazing Method