Single Image Dehazing Algorithm Based on Sky Region Segmentation