| Literature DB >> 29614778 |
Yingchao Song1,2,3, Haibo Luo4,5, Junkai Ma6,7,8, Bin Hui9,10, Zheng Chang11,12.
Abstract
Sky detection plays an essential role in various computer vision applications. Most existing sky detection approaches, being trained on ideal dataset, may lose efficacy when facing unfavorable conditions like the effects of weather and lighting conditions. In this paper, a novel algorithm for sky detection in hazy images is proposed from the perspective of probing the density of haze. We address the problem by an image segmentation and a region-level classification. To characterize the sky of hazy scenes, we unprecedentedly introduce several haze-relevant features that reflect the perceptual hazy density and the scene depth. Based on these features, the sky is separated by two imbalance SVM classifiers and a similarity measurement. Moreover, a sky dataset (named HazySky) with 500 annotated hazy images is built for model training and performance evaluation. To evaluate the performance of our method, we conducted extensive experiments both on our HazySky dataset and the SkyFinder dataset. The results demonstrate that our method performs better on the detection accuracy than previous methods, not only under hazy scenes, but also under other weather conditions.Entities:
Keywords: HazySky; haze-relevant features; imbalance classifier; perceptual hazy density; sky detection; sky labeling
Year: 2018 PMID: 29614778 PMCID: PMC5948826 DOI: 10.3390/s18041060
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1Sample images from (a) the HazySky dataset, and (b) the SkyFinder dataset.
Figure 2Illustration of the proposed sky detection approach.
Figure 3Haze-relevant features used in this paper. (a) Hazy images; (b) dark channel; (c) depth of scene; (d) hue disparity; (e) color saturation; (f) contrast energy; (g) Canny edge; (h) color gradient; (i) maximum height; (j) minimum height.
Figure 4Sky detection results of the first stage. (a) Input hazy images; (b) ground truth sky; (c) classification results of SVM; (d) classification results of SVM; (e) division of the three subregions: white denotes high confidence sky regions; black denotes high confidence non-sky regions; and gray denotes uncertain regions.
Recall and precision of SVM, SVM and SVM.
| H-Seg | G-Seg | ||||||
|---|---|---|---|---|---|---|---|
| SVM | SVM | SVM | SVM | SVM | SVM | ||
| 0.9575 | 0.8338 | 0.8050 | 0.9524 | 0.8734 | 0.7923 | ||
| 0.8938 | 0.9762 | 0.9840 | 0.8777 | 0.9658 | 0.9828 | ||
| 0.7939 | 0.9136 | 0.9465 | 0.7580 | 0.8608 | 0.9386 | ||
| 0.9801 | 0.9511 | 0.9348 | 0.9786 | 0.9692 | 0.9345 | ||
Detection rate and misclassification rate on the HazySky dataset. In the similarity measurement step, we set the feature weights experimentally as and set of the total number of pixel in the image.
| Shen [ | Lu [ | Shang [ | Our(G-Seg) | Our(H-Seg) | |
|---|---|---|---|---|---|
| 80.14 | 88.99 | 89.70 | |||
| 93.31 | 94.88 | 93.77 | |||
| 10.05 | 6.62 | 7.57 |
Figure 5Sky detection results on the HazySky dataset. The first column is the hazy images. The second column to the last column are the results of Our(H-Seg), Our(G-Seg), Shang’s [14], Lu’s [6] and Shen’s [1] methods.
Figure 6Sky detection results on the HazySky dataset. The first column is the hazy images. The second column to the last column are the results of Our(H-Seg), Our(G-Seg), Shang’s [14], Lu’s [6] and Shen’s [1] methods.
Figure 7Performance analysis of our model in different weather and lighting conditions. (a) MCR (MisClassificationRate) values at different times of day; (b) MCR values in different weather conditions.
Test results of 20% sample images for each camera in the SkyFinder dataset (%). We report the detection rate and misclassification rate of our method in each camera, as well as the average misclassification rate of the four methods.
| Split 1 | Split 2 | Split 3 | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 93.88 | 89.85 | 8.15 | 85.26 | 96.72 | 9.63 | 91.97 | 97.41 | 6.00 | |||
| 99.15 | 86.79 | 9.94 | 89.02 | 89.42 | 10.78 | 98.22 | 96.10 | 3.11 | |||
| - | 82.01 | 17.99 | 96.16 | 84.08 | 13.55 | 98.05 | 91.77 | 7.28 | |||
| 97.50 | 94.71 | 4.49 | 99.09 | 80.78 | 15.61 | 98.21 | 85.61 | 8.52 | |||
| 93.90 | 96.68 | 4.57 | 95.06 | 88.27 | 10.03 | 81 39 | 98.57 | 15.60 | |||
| 73.12 | 94.59 | 10.40 | 90.49 | 95.57 | 7.22 | 67.05 | 97.59 | 14.58 | |||
| 93.57 | 99.32 | 4.67 | 86.65 | 97.84 | 7.30 | 86.30 | 99.71 | 7.56 | |||
| 62.96 | 95.88 | 19.84 | 89.83 | 90.91 | 9.35 | 98.87 | 80.60 | 13.93 | |||
| 92.11 | 95.65 | 5.16 | 98.64 | 81.79 | 17.80 | 83.80 | 99.00 | 10.55 | |||
| 93.43 | 97.83 | 4.37 | 94.37 | 97.98 | 3.66 | 88.07 | 84.11 | 13.72 | |||
| 97.82 | 87.60 | 8.88 | 95.14 | 98.39 | 3.11 | 89.34 | 95.82 | 6.88 | |||
| 98.62 | 90.53 | 6.31 | 92.94 | 98.00 | 4.37 | 98.15 | 86.28 | 11.39 | |||
| 84.03 | 82.49 | 16.61 | 90.95 | 98.91 | 5.78 | 98.17 | 96.18 | 3.02 | |||
| 99.01 | 91.02 | 5.98 | 59.85 | 99.37 | 22.23 | 96.68 | 88.52 | 10.75 | |||
| 73.15 | 95.70 | 15.33 | 81.50 | 96.09 | 12.63 | 96.20 | 96.45 | 3.63 | |||
| 22.83 | 19.51 | 25.08 | |||||||||
Figure 8Our sky detection results on the SkyFinder dataset. We selected a number of images captured in different weather and lighting conditions from 4 cameras. The odd rows show the input images, and the even rows are the corresponding sky detection results.