Open Access
1 December 2010 Image-based fusion for video enhancement of night-time surveillance
Yunbo Rao, Wei Yao Lin, Leiting Chen
Author Affiliations +
Abstract
In this paper, a novel image-based fusion video enhancement algorithm is proposed for night-time video surveillance applications by a combination of illumination fusion and based on moving objects fusion. The proposed algorithm fuses video frames from high quality day-time and night-time background with low quality night-time videos. For improving the perception quality of the moving objects, based on moving objects of region fusion method is proposed. Experimental results show the effectiveness of the proposed algorithm.

1.

Introduction

Video surveillance is often more important in the dark environment since many activities of interest often occur in the dark environment.1, 2 Video enhancement plays a key part in night-time video surveillance so that the objects or activities of interest can be clearly monitored. The problem of video enhancement for low quality video has become increasing by acute.3 The goal of the enhancement4 is to improve the visual appearance of the video, or to provide a “better” representation for further processing, such as analysis, detection, segmentation, and recognition. However, it is still a challenging problem for night-time video applications. To traditional algorithms, when the background is enhanced, the contrast often remains low, or the noise is often greatly enhanced. Since day-time videos are also available in many surveillance applications, there are many attempts to take this advantage to combine the day-time and the night-time scenes to enhance the night-time videos.5, 6, 7 However, since there are different moving objects in the day-time video and night-time video, and also the condition in the background may be different, it is not easy to produce good results with fusion.

To further improve the enhancement quality, it is desirable to give larger weight to the moving objects. However, accurate moving foreground extraction is difficult, especially with low contrast and noisy videos. Reference 8 used a multi-color background model per pixel to enhance the foreground moving objects. However, the method suffers from slow learning at the beginning, especially under busy background. It also cannot distinguish moving shadows from moving objects. In addition, the model does not update with time and therefore often fails under outdoor environments where the scene lighting changes frequently with time. Reference 9 presented a method which improves this adaptive background mixture model.

In this paper, a new method is proposed to fuse video frames from high quality day-time and night-time backgrounds with low quality night-time video frames. With the proposed algorithm, day-time images and night-time images are combined together to provide a much more enhanced background. In order to enhance the moving objects as well, we also propose a moving objects of region fusion method for improving the sharpness of the moving objects.

2.

The Proposed Algorithms

The detailed procedures of the proposed method can be described as in Fig. 1. It should be noted that in Fig. 1, the ‘day-time image’ as well as the ‘night-time image’ are the high-quality images for providing a better enhanced background and the night-time video is the actually low-quality input that we need to enhance. In the following, we will describe algorithm.

Fig. 1

A block diagram of the proposed algorithm

120501_1_1.jpg

2.1.

Illumination Segmentation

We first decouple an input color image f(x, y) into intensity I(x, y), and color layer C(x, y) where our algorithm is mainly processed on the intensity layer I(x, y). Then an image is separated into the illumination layer L(x, y) and the reflectance layer R(x, y) of the day-time and night-time background image can be obtained by Retinex theory.10 It is assumed that the available luminance data in the image is the product between illumination and reflectance. The input image I(x, y) is represented by the product of the illumination and the reflectance as follows:

Eq. 1

[TeX:] \documentclass[12pt]{minimal}\begin{document}\begin{equation} I(x,y) = R(x,y) \, \times \, L(x,y) \end{equation}\end{document} I(x,y)=R(x,y)×L(x,y)
The illumination L(x, y) is assumed to be contained in the low frequency components of the image while the reflectance R(x, y) mainly represents the high frequency components of the image. The Gaussian low-pass filtered result of the intensity mage is used as the estimation of the illumination. The filtering process is actually a 2D discrete convolution with Gaussian kernel, which can be mathematically expressed as11:

Eq. 2

[TeX:] \documentclass[12pt]{minimal}\begin{document}\begin{equation} L(x,y) = \sum\limits_{m = 0}^{M - 1} {\sum\limits_{n = 0}^{N - 1} {I(m,n)G(m + x,n + y)} } \end{equation}\end{document} L(x,y)=m=0M1n=0N1I(m,n)G(m+x,n+y)
where G is the 2D Gaussian function with size M  ×  N. Gaussian kernel G is defined as:

Eq. 3

[TeX:] \documentclass[12pt]{minimal}\begin{document}\begin{equation} G(x,y) = q.\exp \left( {\frac{{ - (x^2 + y^2 )}}{{c^2 }}} \right) \end{equation}\end{document} G(x,y)=q.exp(x2+y2)c2
q is a normalization factor:

Eq. 4

[TeX:] \documentclass[12pt]{minimal}\begin{document}\begin{equation} \sum\limits_x {\sum\limits_y {q\cdot\exp \left( {\frac{{ - (x^2 + y^2 )}}{{c^2 }}} \right)} } = 1 \end{equation}\end{document} xyq·exp(x2+y2)c2=1
and c is a scale constant (c = 2 ∼ 5 is commonly used). Here, c is set to 3.

2.2.

Enhanced Background

We adopt the weighted-average image-fusion algorithm to enhance nighttime background using illumination images L(x, y). The proposed fusion equation is as follows.

Eq. 5

[TeX:] \documentclass[12pt]{minimal}\begin{document}\begin{equation} B_L (x,y) = \alpha *N_L (x,y) + (1 - \alpha )*D_L (x,y) \end{equation}\end{document} BL(x,y)=α*NL(x,y)+(1α)*DL(x,y)
where [TeX:] $B_L (x,y)$ BL(x,y) is the final background image, [TeX:] $N_L (x,y)$ NL(x,y) is the nighttime illumination image, [TeX:] $D_L (x,y)$ DL(x,y) is the daytime illumination image. The weight α is in the range [0, 1]. In our algorithm, α is empirically determined by the global mean [TeX:] $N_L (x,y)$ NL(x,y) and [TeX:] $D_L (x,y)$ DL(x,y) of the illumination image based on the image enhancement experiments.

2.3.

Enhanced (Night-time) Video

Due to the low contrast, we can not clearly extract moving objects from the dark background. We propose an enhanced-video step to facilitate the extraction moving objects. The tone-mapping approach is used to enhance the video frames and to separate an image into details and large scale features. More specifically, the nonlinear tone mapping function is used to attenuate image details and to adjust the contrast of large scale features,12 as in Eqn. 6.

Eq. 6

[TeX:] \documentclass[12pt]{minimal}\begin{document}\begin{equation} m(x,\psi ) = \frac{{\log \left( {\frac{x}{{xMax}}(\psi - 1) + 1} \right)}}{{\log (\psi )}} \end{equation}\end{document} m(x,ψ)=logxxMax(ψ1)+1log(ψ)
The white level of the input illumination is set by xMax and ψ controls the attenuation profile. This mapping function exhibits a similar characteristic as the traditional Gamma correction.

2.4.

Motion Segmentation

After enhanced the night-time videos, motion detection is performed to extract the foreground moving objects,9 as in Eqn. 7. Each pixel in the scene is modeled by a mixture of K Gaussian distributions. The probability that a certain pixel has a value of [TeX:] $X_N$ XN at time N can be written as.

Eq. 7

[TeX:] \documentclass[12pt]{minimal}\begin{document}\begin{equation} p(X_N ) = \sum\limits_{j = 1}^K {w_j \eta (X_N ;\theta _j )} \end{equation}\end{document} p(XN)=j=1Kwjη(XN;θj)
where [TeX:] $w_k$ wk is the weight parameter of the [TeX:] $K^{th}$ Kth Gaussian component. [TeX:] $\eta (X_N ;\theta _j )$ η(XN;θj) is the normal distribution of [TeX:] $K^{th}$ Kth component represented by

Eq. 8

[TeX:] \documentclass[12pt]{minimal}\begin{document}\begin{eqnarray} \eta (X;\theta _k ) &=& \eta \left(X;u_{k,} \sum\nolimits_K \right)\nonumber\\ &=& \frac{1}{{(2\pi )^{D/2} \big|\!\sum\nolimits_K \!\big|^{1/2} }}e^{ - \frac{1}{2}(X - \mu _K )^T \sum\nolimits_K^{ - 1} {X - \mu _K } } \end{eqnarray}\end{document} η(X;θk)=ηX;uk,K=1(2π)D/2|K|1/2e12(XμK)TK1XμK
where [TeX:] $u_k$ uk is the mean and [TeX:] $\sum\nolimits_K { = \sigma _K^2 } I$ K=σK2I is the covariance of the [TeX:] $K^{th}$ Kth component.

The K distributions are ordered based on the fitness value [TeX:] $w_k /\sigma _k$ wk/σk and the first B distributions are used as a model of the background of the scene where B is estimated as

Eq. 9

[TeX:] \documentclass[12pt]{minimal}\begin{document}\begin{equation} B = \mathop {\arg \min }\limits_b \left(\sum\limits_{j = 1}^b {w_j > T} \right) \end{equation}\end{document} B=argminbj=1bwj>T
The threshold T is the minimum fraction of the background model. Under this method, a pixel will be detected as a foreground pixel if it is more than 2.5 standard deviations away from any of the B distributions.

2.5.

Final Fusion and Enhancement

After getting the weighting based fusion background image and the resulting motion detection video frames, we will perform the final video enhancement by a combination of illumination and based on moving objects region fusion. The proposed combination of illumination and region fusion mathematic equation is as follows:

Eq. 10

[TeX:] \documentclass[12pt]{minimal}\begin{document}\begin{eqnarray} F_L (x,y) &=& \beta M(x,y) + \gamma N_L (x,y)\nonumber\\ && +\, (1 - \gamma )B_L (x,y) \end{eqnarray}\end{document} FL(x,y)=βM(x,y)+γNL(x,y)+(1γ)BL(x,y)
where [TeX:] $F_L (x,y)$ FL(x,y) is the final illumination image, M(x, y) is motion-detection video frame, [TeX:] $N_L (x,y)$ NL(x,y) is the night-time illumination image and [TeX:] $B_L (x,y)$ BL(x,y) is enhanced background illumination as in Eqn. 5. β and γ are the weights for these input images, respectively. In our algorithm, β and γ are determined in the following way.

Eq. 11

[TeX:] \documentclass[12pt]{minimal}\begin{document}\begin{eqnarray} \!\!\left\{ \begin{array}{@{}l} \beta\,{=}\,{\rm 1\ and\ }\gamma\,{=}\,{\rm 1\; if\; } M(x,y) + N_L (x,y) + B_L (x,y) \ge 1{\rm } \\[6pt] \beta\,{=}\,{\rm 0\ and\ }\gamma\,{=}\,{\rm K\; if\; } M(x,y) + N_L (x,y) + B_L (x,y) < 1{\rm } \\ \end{array}\!\! \right.\nonumber\\ \end{eqnarray}\end{document} β=1 and γ=1 if M(x,y)+NL(x,y)+BL(x,y)1β=0 and γ=K if M(x,y)+NL(x,y)+BL(x,y)<1
When [TeX:] $M(x,y) + N_L (x,y) + B_L (x,y) < 1$ M(x,y)+NL(x,y)+BL(x,y)<1 , it assumes that there are no moving objects in the current pixel. Then the coefficient β = 0 and γ can be decided by the illumination images [TeX:] $N_L (x,y)$ NL(x,y) and [TeX:] $B_L (x,y)$ BL(x,y) . In our experiments, we set the values γ = K = 0.4. On the other hand, if [TeX:] $M(x,y) + N_L (x,y) + B_L (x,y) \ge 1$ M(x,y)+NL(x,y)+BL(x,y)1 , it is assumed that there are moving objects in the current pixel. And in this case, both β and γ are set to be 1. Furthermore, in order to avoid [TeX:] $F_L (x,y)$ FL(x,y) exceeds the illumination range of [0,255], a pixel will be set to be 255 if its value exceeds 255.

3.

Final Experimental Results and Conclusions

In this paper, we propose a novel algorithm to enhance night-time video. We focus on addressing the following two key issues for video enhancement. (1) illumination-based fusion for enhancement background image. (2) Moving objects of region fusion for improving sharpness of the moving objects. Figures 2 and 3 show the experimental results. The result demonstrates that the proposed algorithm can use the color resources (i.e. color levels) more efficiently and it is robust and effective.

Fig. 2

Enhancing a traffic night video. (a) A low quality night-time video frame. (b) A frame from the final result of the proposed algorithm.

120501_1_2.jpg

Fig. 3

(a) Original low quality night-time video frame and histogram, (b) the enhanced result of the proposed algorithm and histogram.

120501_1_3.jpg

Acknowledgments

This work is partly supported by National High-Tech Program 863 of China (Grant No. 2007AA010407 and 2009GZ0017), National Research Program of China (Grant No. 9140A06060208DZ0207), National Science Foundation of China ( 61001146), and China Scholarships Council.

References

1. 

W. Lin, M.-T. Sun, R. Poovendran, and Z. Zhang, “Human activity recognition for video surveillance,” 2737 –2740 (2008) Google Scholar

2. 

W. Lin, M.-T. Sun, R. Poovendran, and Z. Zhang, “Group Event Detection with a Varying Number of Group Members for Video Surveillance,” IEEE Transactions on Circuits and Systems for Video Technology, 20 (8), 1057 –1067 (2010). https://doi.org/10.1109/TCSVT.2010.2057013 Google Scholar

3. 

X. Dong, Y. Pang, and J. Wen, “Fast efficient algorithm for enhancement of low lighting video,” Google Scholar

4. 

S. S. Agaian, B. Silver, and K. A. Panetta, “Transform coefficient histogram-based image enhancement algorithms using contrast entropy,” IEEE transactions on image processing., 16 (3), 741 –758 (2007). https://doi.org/10.1109/TIP.2006.888338 Google Scholar

5. 

M. H. Asmare, V. S. Asirvadam, Iznita, A. Fadzil, and M. Hani, “Image enhancement by fusion in contourlet transform,” International journal on electrical engineering and informatics, 2 (1), (2010). Google Scholar

6. 

A. Ilie, R. Raskar, and J. Yu, “Gradient domain context enhancement for fixed cameras,” Pattern recognition and artificial intelligence., 19 (4), 533 –549 (2005). https://doi.org/10.1142/S0218001405004137 Google Scholar

7. 

A. Yamasaki, H. Takauji, Shun'ichi Kaneko, T. Kanade, and H. Ohki1, “Denighting: enhancement of nighttime image for a surrveillance camera,” (2008). Google Scholar

8. 

C. Stauffer and G. Wel, “Learning patterns of activity using real-time tracking,” Pattern analysis and machine intelligence., 22 (8), 747 –757 (2000). https://doi.org/10.1109/34.868677 Google Scholar

9. 

P. KaewTraKulPong and R. Bowden, “An improved adaptive background mixture model for real-time tracking with shadow detection,” (2001). Google Scholar

10. 

E. H. Land and J. J. McCann, “Lightness and retinex theory,” Journal of the optical society of america., 61 1 –11 (1971). https://doi.org/10.1364/JOSA.61.000001 Google Scholar

11. 

C. Tomasi and R. Manduchi, “Bilateral filtering for gray and color images,” 836 –846 (1998). Google Scholar

12. 

F. Durand and J. Dorsey, “Fast bilateral filtering for the display of high-dynamic range images,” ACM transactions on graphics, 21 (3), 257 –266 (2002). https://doi.org/10.1145/566654.566574 Google Scholar
©(2010) Society of Photo-Optical Instrumentation Engineers (SPIE)
Yunbo Rao, Wei Yao Lin, and Leiting Chen "Image-based fusion for video enhancement of night-time surveillance," Optical Engineering 49(12), 120501 (1 December 2010). https://doi.org/10.1117/1.3520553
Published: 1 December 2010
Lens.org Logo
CITATIONS
Cited by 40 scholarly publications.
Advertisement
Advertisement
RIGHTS & PERMISSIONS
Get copyright permission  Get copyright permission on Copyright Marketplace
KEYWORDS
Video

Video surveillance

Image enhancement

Image fusion

Surveillance

Reflectivity

Video processing

RELATED CONTENT


Back to Top