| Literature DB >> 32405291 |
Minghu Wu1, Rui Chen2, Ying Tong2.
Abstract
Shadow detection and removal in real scene images are a significant problem for target detection. This work proposes an improved shadow detection and removal algorithm for urban video surveillance. First, the foreground is detected by background subtraction and the shadow is detected by HSV color space. Using local variance and OTSU method, we obtain the moving targets with texture features. According to the characteristics of shadow in HSV space and texture feature, the shadow is detected and removed to eliminate the shadow interference for the subsequent processing of moving targets. Finally, we embed our algorithm into C/S framework based on the HTML5 web socket protocol. Both the experimental and actual operation results show that the proposed algorithm is efficient and robust in target detection and shadow detection and removal under different scenes.Entities:
Mesh:
Year: 2020 PMID: 32405291 PMCID: PMC7199596 DOI: 10.1155/2020/2075781
Source DB: PubMed Journal: Comput Intell Neurosci
Figure 1Flowchart of the proposed algorithm.
Figure 2Flowchart of the background subtraction method.
Figure 3Plane projection of two-dimensional histogram.
Algorithm 1The proposed shadow detection and removal algorithm.
Figure 4The basic structure diagram.
Figure 5Results of shadow elimination: (a) original image frame; (b) extracted foreground; (c) shadow elimination.
Shadow elimination algorithm (%).
| Test sequence | Test criterion | SNP | SP | DNM1 | DNM2 | Our method |
|---|---|---|---|---|---|---|
| Intelligent room |
| 72.8 | 76.2 | 78.6 | 62.0 | 85.0 |
|
| 88.9 | 90.7 | 90.3 | 93.9 | 94.0 | |
| Avg | 80.9 | 83.5 | 84.5 | 78.0 | 89.5 | |
|
| ||||||
| Campus |
| 80.5 | 72.4 | 82.9 | 69.1 | 83.2 |
|
| 63.7 | 74.1 | 86.6 | 63.0 | 87.6 | |
| Avg | 72.1 | 73.3 | 84.8 | 66.1 | 85.4 | |
|
| ||||||
| Laboratory |
| 84.0 | 64.8 | 76.2 | 60.3 | 88.2 |
|
| 92.3 | 95.3 | 89.8 | 81.5 | 87.1 | |
| Avg | 88.2 | 80.1 | 83.0 | 70.9 | 87.7 | |
|
| ||||||
| CAVIAR |
| 61.4 | 92.7 | 93.3 | 78.2 | 93.6 |
|
| 87.9 | 74.4 | 79.1 | 73.4 | 90.1 | |
| Avg | 74.2 | 83.6 | 86.2 | 75.8 | 91.9 | |
Parameters with a recommended range.
| Parameter | Value | Remark |
|---|---|---|
|
| 5 | Number of Gaussian models |
|
| 25 | Threshold of background |
|
| 0.001 | Background update rate in ( |
|
| 0.5 | Threshold of saturation in ( |
|
| 0.1 | Threshold of hue in ( |
|
| 0.4∼0.6 | The intensity of the shadow in ( |
|
| 0.5∼0.9 | The intensity of illumination in ( |
Figure 6Result from our web service system. (a) Real-time monitoring video. (b) Analysis of monitoring video frame.