目的 在视频监控目标检测应用中,场景中的阴影会直接影响目标检测的准确度,因此阴影抑制算法研究显得尤为重要。目前广泛使用的是HSV(hue,saturation,value)阴影抑制方法,但是该方法存在由于亮度比值的阈值不稳定而造成将运动目标也检测为阴影的问题。针对该问题,本文提出了一种结合HSV与纹理特征的视频阴影消除方法。方法 首先将输入的图像使用传统的混合高斯模型建立背景并在灰度空间中提取前景,其次在HSV空间使用亮度比的阈值方法检测阴影,二者综合得到运动目标;针对由于亮度比值的阈值不稳定而导致的前景误检为阴影的问题,采用了LBP(local binary pattern)算子结合大津阈值(OTSU)提取部分运动目标。最后将LBP算子结合大津阈值提取的部分运动目标与HSV空间检测的目标两者相或,最终去除运动目标的阴影。结果 本文选用在CVPR-ATON和CAVIAR标准视频库中多个场景的阴影视频,将本文算法与SNP算法、SP算法、DNM1算法和DNM2算法进行对比仿真,实验结果表明本文算法在阴影检测率和阴影识别率的平均值上提升约10%。结论 本文提出的视频阴影消除算法结合了HSV与纹理特征,可以在不同的环境中有效地去除阴影,运动目标保留完整,可适用于智能视频监控、遥感图像和人机交互中。
Objective In the application of video surveillance target detection,the shadow will directly affect the accuracy of the target detection in the scenes,so the shadow suppression algorithm is particularly important.The traditional algorithm which is based on hue,saturation,and value(HSV) to detect shadow is popular.Inspired by color perception mechanism of human visual system,this algorithm detects the shadow by the luminance ratio between the current video frame and background model.We propose a shadow elimination algorithm based on HSV spatial feature and texture features to overcome the shortcoming of the luminance ratio between them,which causes the moving target to be mistaken for the shadow.Method The Gaussian mixture model can effectively overcome the interference caused by the change of illumination and periodic disturbance of background image.First,the mixed Gaussian model(essentially 3 to 5) is used to characterize each pixel in the input images,and the updating mixed Gaussian model is obtained after the new input frame image.Each pixel of the current image is matched with the mixed Gaussian model,and if it is successful,the point belongs to background;otherwise,it belongs to foreground.The algorithm based on HSV color space can detect the shadow accurately by calculating the luminance ratio between the current video frame and the background model because the hue and saturation values are approximate in the shadow compared with the ones in the background,and the luminance value of shadow pixels is lower than the luminance value of the background pixels.The luminance ratio between them is usually 0.7 to 1.Therefore,the moving target can be obtained by combining the foreground detected by Gaussian mixture background model with the shadow detected by the method based on HSV color space.The traditional algorithms based on HSV color space can obtain the accurate detection results,but the moving target is often mistaken for shadows seriously in the video frames.To overcome this problem,we use texture fe