CN104123734A - Visible light and infrared detection result integration based moving target detection method - Google Patents

Visible light and infrared detection result integration based moving target detection method Download PDF

Info

Publication number
CN104123734A
CN104123734A CN201410350758.8A CN201410350758A CN104123734A CN 104123734 A CN104123734 A CN 104123734A CN 201410350758 A CN201410350758 A CN 201410350758A CN 104123734 A CN104123734 A CN 104123734A
Authority
CN
China
Prior art keywords
pixel
infrared
foreground
sigma
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410350758.8A
Other languages
Chinese (zh)
Inventor
郗润平
张艳宁
张福俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Northwestern Polytechnical University
Original Assignee
Northwestern Polytechnical University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Northwestern Polytechnical University filed Critical Northwestern Polytechnical University
Priority to CN201410350758.8A priority Critical patent/CN104123734A/en
Publication of CN104123734A publication Critical patent/CN104123734A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)

Abstract

本发明公开了一种基于可见光和红外检测结果融合的运动目标检测方法,用于解决现有运动目标检测方法检测效果差的技术问题。技术方案是首先利用ViBe的背景提取方法提取可见光图像的前景图。得到前景图后,将其转换到LUV空间进行阴影判断;其次,通过显著性检测的方法提取红外图像的显著图;最后,融合两者的检测结果,提取最终的运动目标。本发明方法可以有效应对阴影及光照强度环境变化导致目标检测效果差的技术问题,达到全天候检测的效果。The invention discloses a moving target detection method based on fusion of visible light and infrared detection results, which is used to solve the technical problem of poor detection effect of the existing moving target detection method. The technical solution is to firstly use the background extraction method of ViBe to extract the foreground image of the visible light image. After the foreground image is obtained, it is converted to LUV space for shadow judgment; secondly, the saliency image of the infrared image is extracted by means of saliency detection; finally, the final moving object is extracted by combining the detection results of the two. The method of the invention can effectively deal with the technical problem of poor target detection effect caused by environmental changes of shadow and light intensity, and achieve the effect of all-weather detection.

Description

基于可见光和红外检测结果融合的运动目标检测方法A moving target detection method based on the fusion of visible light and infrared detection results

技术领域technical field

本发明涉及一种运动目标检测方法,特别是涉及一种基于可见光和红外检测结果融合的运动目标检测方法。The invention relates to a moving target detection method, in particular to a moving target detection method based on fusion of visible light and infrared detection results.

背景技术Background technique

运动目标检测作为视频监控的基础工作,它的主要任务是从视频序列中将运动变化的区域从背景图像中分割提取出来,以备后续的目标跟踪、行为分析使用。目标检测方法能够有效克服光照变化,背景运动,相机抖动等多重影响,准确提取运动目标,具有重要的意义。现有方法多数在单源传感器成像上研究,主要检测方法有基于像素的检测方法和基于特征的检测方法。Moving target detection is the basic work of video surveillance. Its main task is to segment and extract the region of motion change from the background image in the video sequence for subsequent target tracking and behavior analysis. The target detection method can effectively overcome the multiple influences of illumination changes, background motion, camera shake, etc., and accurately extract moving targets, which is of great significance. Most of the existing methods are studied on single-source sensor imaging, and the main detection methods are pixel-based detection methods and feature-based detection methods.

文献“ViBe:a powerful random technique to estimate the background in videosequence.ICASSP,2009,4:945-948”公开了一种基于像素的目标检测方法,提取目标背景区域。该方法采用随机选择策略和像素空间一致性原则,进行前景检测。该方法首先用第一帧图像初始化样本容量为N的背景模型;然后计算当前像素点与样本点间距离满足阈值的次数来判断前景点;最后以随机策略更新背景样本点及样本点的领域。该方法具有内存容量小,速度快的特点,但是当光照强度较强,存在大量阴影时,检测效果会下降,而且当光照强度变化,比如阴雨、夜晚等弱光环境下,不能实时检测目标,实现全天候检测。The document "ViBe: a powerful random technique to estimate the background in video sequence. ICASSP, 2009, 4:945-948" discloses a pixel-based target detection method to extract the target background area. The method uses a random selection strategy and the principle of pixel spatial consistency for foreground detection. The method firstly uses the first frame image to initialize the background model with a sample capacity of N; then calculates the number of times the distance between the current pixel point and the sample point satisfies the threshold to judge the foreground point; finally updates the background sample point and the area of the sample point with a random strategy. This method has the characteristics of small memory capacity and fast speed, but when the light intensity is strong and there are a lot of shadows, the detection effect will decrease, and when the light intensity changes, such as under low light environments such as rainy and night, it cannot detect the target in real time. Realize round-the-clock detection.

发明内容Contents of the invention

为了克服现有运动目标检测方法检测效果差的不足,本发明提供一种基于可见光和红外检测结果融合的运动目标检测方法。该方法首先利用ViBe的背景提取方法提取可见光图像的前景图。得到前景图后,将其转换到LUV空间进行阴影判断;其次,通过显著性检测的方法提取红外图像的显著图;最后,融合两者的检测结果,提取最终的运动目标。本发明方法可以有效应对阴影及光照强度环境变化导致目标检测效果差的技术问题,达到全天候检测的效果。In order to overcome the shortcomings of the poor detection effect of existing moving object detection methods, the present invention provides a moving object detection method based on the fusion of visible light and infrared detection results. The method first extracts the foreground image of the visible light image by using the background extraction method of ViBe. After the foreground image is obtained, it is converted to LUV space for shadow judgment; secondly, the saliency image of the infrared image is extracted by means of saliency detection; finally, the final moving object is extracted by combining the detection results of the two. The method of the invention can effectively deal with the technical problem of poor target detection effect caused by environmental changes of shadow and light intensity, and achieve the effect of all-weather detection.

本发明解决其技术问题所采用的技术方案是:一种基于可见光和红外检测结果融合的运动目标检测方法,其特点是包括以下步骤:The technical solution adopted by the present invention to solve the technical problem is: a moving target detection method based on the fusion of visible light and infrared detection results, which is characterized in that it includes the following steps:

步骤一、对于可见光第一帧图像,从像素点(x,y)八领域中随机选取N个像素值,Step 1. For the first frame of visible light image, randomly select N pixel values from the eight domains of pixel points (x, y),

初始化背景模型{Bn,n=12,...,N}对应位置点。Initialize the background model {B n , n=12, . . . , N} corresponding to the position points.

从第二帧图像开始进行像素点匹配。在时刻t,判断当前帧It在(x,y)处像素i(x,y)与背景样本Bn的像素b(x,y)匹配状态:Pixel matching starts from the second frame image. At time t, judge the matching state of pixel i (x,y) at (x,y) of current frame I t and pixel b(x,y) of background sample B n :

其中,dis()表示当前像素与背景像素之间的欧式距离,Dd=20表示距离阈值。Among them, dis() represents the Euclidean distance between the current pixel and the background pixel, and D d =20 represents the distance threshold.

当满足距离阈值Dd的次数小于Tc时,Tc=2,标记该像素点为前景;否则标记该像素点为背景。When the number of times the distance threshold D d is satisfied is less than T c , T c =2, and the pixel is marked as the foreground; otherwise, the pixel is marked as the background.

其中,VFt是一个二值图,表示前景像素时,值为255;表示背景像素时,值为0。Among them, VF t is a binary image, when it represents the foreground pixel, the value is 255; when it represents the background pixel, the value is 0.

设定背景更新概率为φ,当像素i(x,y)被标记背景像素时,有1/φ的概率更新其背景模型。假设该像素的某个背景模型Bn要更新,首先用i(x,y)更新背景模型Bn对应位置像素b(x,y);然后在样本Bn对应位置的八领域内随机选取一个像素位置使用i(x,y)更新对应像素。Set the background update probability to φ, when the pixel i(x,y) is marked as a background pixel, there is a probability of 1/φ to update its background model. Assuming that a certain background model B n of this pixel needs to be updated, first use i(x, y) to update the corresponding position pixel b(x, y) of the background model B n ; then randomly select a The pixel position uses i(x,y) to update the corresponding pixel.

步骤二、通常在LUV空间阴影区域中像素的亮度L会低于背景区域的亮度L,阴影区域与背景区域的色度相似,但是差值的取值范围较大。像素i(x,y)被判断为阴影点时,要满足下述条件:Step 2. Generally, the luminance L of pixels in the shadow area of the LUV space is lower than the luminance L of the background area, and the chromaticity of the shadow area and the background area is similar, but the value range of the difference is larger. When pixel i(x,y) is judged as a shadow point, the following conditions must be met:

a.θ1≦OL≤θ2,OL=iL(x,y)/bL(x,y)       (3)a.θ 1OL ≤θ 2 , OL =i L (x,y)/b L (x,y) (3)

bb .. Oo UVUV ≤≤ ββ ,, Oo UVUV == (( ii Uu (( xx ,, ythe y )) -- bb Uu (( xx ,, ythe y )) )) 22 ++ (( ii VV (( xx ,, ythe y )) -- bb VV (( xx ,, ythe y )) )) 22 -- -- -- (( 44 ))

这里,OL为亮度变化,OUV为色度变化,θ12,β是判定阈值。Here, OL is the brightness change, OU UV is the chromaticity change, θ 1 , θ 2 , β are the judgment thresholds.

当像素经阴影判定函数判断为阴影后,分别对该像素的OL,OUV分量进行混合高斯建模,进一步对阴影点进行验证,以降低阴影的错检率。When the pixel is judged as a shadow by the shadow judgment function, the mixed Gaussian modeling is performed on the OL and OU UV components of the pixel, and the shadow point is further verified to reduce the false detection rate of the shadow.

步骤三、使用一个组合的DoG滤波器计算图像的高频和低频信息,单个DoG滤波器表示如下:Step 3, use a combined DoG filter to calculate the high-frequency and low-frequency information of the image, and a single DoG filter is expressed as follows:

DoGDoG (( xx ,, ythe y )) == 11 ππ [[ 11 σσ 11 22 expexp (( -- xx 22 ++ ythe y 22 22 σσ 11 22 )) -- 11 σσ 22 22 expexp (( -- xx 22 ++ ythe y 22 22 σσ 22 22 )) ]] == GG (( xx ,, ythe y ,, σσ 11 )) -- GG (( xx ,, ythe y ,, σσ 22 )) -- -- -- (( 55 ))

DoG滤波器的带宽由ρ=σ12决定,σ12表示高斯标准差(σ1>σ2)。σ1决定着低频信息的选取,σ2决定着高频信息的选取。考虑M个DoG的组合滤波器:The bandwidth of the DoG filter is determined by ρ=σ 12 , where σ 1 and σ 2 represent the Gaussian standard deviation (σ 12 ). σ 1 determines the selection of low-frequency information, and σ 2 determines the selection of high-frequency information. Consider the combined filter of M DoGs:

ΣΣ mm == 00 Mm -- 11 (( GG (( xx ,, ythe y ,, ρρ mm ++ 11 σσ 22 )) -- GG (( xx ,, ythe y ,, ρρ mm σσ 22 )) )) =G=G (( xx ,, ythe y ,, ρρ Mm σσ 22 )) -- GG (( xx ,, ythe y ,, σσ 22 )) -- -- -- (( 66 ))

其中,M表示大于0的整数,式(6)被简化成两个高斯函数的差。组合滤波器的带宽由K=ρM决定。Among them, M represents an integer greater than 0, and formula (6) is simplified as the difference of two Gaussian functions. The bandwidth of the combined filter is determined by K= ρM .

计算红外视频序列的显著性特征,令M=∞,使得K值尽可能大,这时G(x,y,ρMσ2)就是对整个图像的平均。红外图像的显著性计算如下:Calculate the salient feature of the infrared video sequence, let M=∞, make the K value as large as possible, then G(x,y,ρ M σ 2 ) is the average of the entire image. The saliency of the infrared image is calculated as follows:

SalSal (( xx ,, ythe y )) == || || Hh uu -- Hh ww hchc (( xx ,, ythe y )) || || -- -- -- (( 77 ))

计算显著性之前,将颜色空间转换到CIELAB空间。Hu为图像平均值,是像素在高斯平滑后的颜色特征,||·||为L2范式。Before computing the saliency, the color space is converted to CIELAB space. Hu is the average value of the image, is the color feature of the pixel after Gaussian smoothing, and ||·|| is the L2 paradigm.

提取红外显著图之后,进行二值分割得到显著前景图SFt。After extracting the infrared saliency map, binary segmentation is performed to obtain the salient foreground map SFt.

步骤四、融合红外和可见光检测结果。Step 4. Fusion of infrared and visible light detection results.

记融合结果图为If,s,以可见光和红外两种检测结果标记像素点,Record the fusion result picture as I f,s , mark the pixels with visible light and infrared detection results,

会产生三种可能的情况:Three possible situations arise:

(a)可见光前景检测结果和红外前景检测结果都表明该像素为前景点。即(a) Both visible light foreground detection results and infrared foreground detection results indicate that the pixel is a foreground point. Right now

VFt(x,y)=255,SFt(x,y)=255,      (8)VF t (x, y) = 255, SF t (x, y) = 255, (8)

此时标记If,s(x,y)=255。At this time, it is marked If,s (x,y)=255.

(b)可见光前景检测结果表明该像素为前景点,红外前景检测表明该像素不是前景点或可见光前景检测结果表明该像素不是前景点,红外前景检测表明该像素是前景点。这里采用对可见光图和红外显著图对应位置点加权平均的方式标记该像素值。此时融合像素点值标记为(b) The visible light foreground detection result indicates that the pixel is a foreground point, and the infrared foreground detection indicates that the pixel is not a foreground point, or the visible light foreground detection result indicates that the pixel is not a foreground point, and the infrared foreground detection indicates that the pixel is a foreground point. Here, the pixel value is marked in the way of weighted average of corresponding points in the visible light map and the infrared saliency map. At this time, the fusion pixel value is marked as

II ff ,, sthe s (( xx ,, ythe y )) == (( 11 ++ λλ )) VFVF tt (( xx ,, ythe y )) 33 ++ (( 22 -- λλ )) SalSal tt (( xx ,, ythe y )) 33 -- -- -- (( 99 ))

当显著图像素点8领域的平均值大于原图均值的2倍时λ=1,否则为0。When the average value of the salient image pixel 8 field is greater than twice the original image average value, λ=1, otherwise it is 0.

其中,mean()表示均值,Σneig8()表示8领域的和。Among them, mean() represents the mean value, and Σneig 8 () represents the sum of 8 fields.

(c)可见光前景检测结果和红外前景检测结果都表明该像素为非前景点。这里标记该像素点值为红外显著图对应位置点的三分之一。(c) Both visible light foreground detection results and infrared foreground detection results show that the pixel is a non-foreground point. Here, the value of the pixel marked is one-third of the corresponding position in the infrared saliency map.

II ff ,, sthe s (( xx ,, ythe y )) == SalSal tt (( xx ,, ythe y )) 33 -- -- -- (( 1111 ))

经过以上步骤得到融合结果图If,s后,进行二值分割,并作形态学处理,得到最终目标检测结果。After the fusion result map I f, s is obtained through the above steps, binary segmentation is performed and morphological processing is performed to obtain the final target detection result.

本发明的有益效果是:该方法首先利用ViBe的背景提取方法提取可见光图像的前景图。得到前景图后,将其转换到LUV空间进行阴影判断;其次,通过显著性检测的方法提取红外图像的显著图;最后,融合两者的检测结果,提取最终的运动目标。本发明方法可以有效应对阴影及光照强度环境变化导致目标检测效果差的技术问题,达到全天候检测的效果。The beneficial effects of the present invention are: firstly, the method uses the background extraction method of ViBe to extract the foreground image of the visible light image. After the foreground image is obtained, it is converted to LUV space for shadow judgment; secondly, the saliency image of the infrared image is extracted by means of saliency detection; finally, the final moving object is extracted by combining the detection results of the two. The method of the invention can effectively deal with the technical problem of poor target detection effect caused by environmental changes of shadow and light intensity, and achieve the effect of all-weather detection.

下面结合具体实施方式对本发明作详细说明。The present invention will be described in detail below in combination with specific embodiments.

具体实施方式Detailed ways

本发明基于可见光和红外检测结果融合的运动目标检测方法具体步骤如下:The specific steps of the moving target detection method based on the fusion of visible light and infrared detection results of the present invention are as follows:

一、可见光图像前景检测。1. Visible light image foreground detection.

(a)模型初始化及像素分类。(a) Model initialization and pixel classification.

对于可见光第一帧图像,从像素点(x,y)八领域中随机选取N个像素值,初始化背景模型{Bn,n=12,...,N}对应位置点。For the first frame of visible light image, N pixel values are randomly selected from the eight domains of pixel points (x, y), and the corresponding position points of the background model {B n ,n=12,...,N} are initialized.

从第二帧图像开始进行像素点匹配。在时刻t,判断当前帧It在(x,y)处像素i(x,y)与背景样本Bn的像素b(x,y)匹配状态:Pixel matching starts from the second frame image. At time t, judge the matching state of pixel i (x,y) at (x,y) of current frame I t and pixel b(x,y) of background sample B n :

其中,dis()表示当前像素与背景像素之间的欧式距离,Dd=20表示距离阈值。Among them, dis() represents the Euclidean distance between the current pixel and the background pixel, and D d =20 represents the distance threshold.

当满足距离阈值Dd的次数小于Tc时(Tc=2),标记该像素点为前景;否则标记该像素点为背景。When the number of times the distance threshold D d is met is less than T c (T c =2), the pixel is marked as the foreground; otherwise, the pixel is marked as the background.

VFt是一个二值图,表示前景像素时,值为255;表示背景像素时,值为0。VF t is a binary image, when it represents a foreground pixel, the value is 255; when it represents a background pixel, its value is 0.

(b)背景更新。(b) Background update.

设定背景更新概率为φ,当像素i(x,y)被标记背景像素时,有1/φ的概率更新其背景模型。假设该像素的某个背景模型Bn要更新,首先用i(x,y)更新背景模型Bn对应位置像素b(x,y);然后在样本Bn对应位置的八领域内随机选取一个像素位置使用i(x,y)更新对应像素。Set the background update probability to φ, when the pixel i(x,y) is marked as a background pixel, there is a probability of 1/φ to update its background model. Assuming that a certain background model B n of this pixel needs to be updated, first use i(x, y) to update the corresponding position pixel b(x, y) of the background model B n ; then randomly select a The pixel position uses i(x,y) to update the corresponding pixel.

二、可见光图像阴影检测。2. Visible light image shadow detection.

通常在LUV空间阴影区域中像素的亮度L会低于背景区域的亮度L,阴影区域与背景区域的色度相似,但是差值的取值范围较大。像素i(x,y)被判断为阴影点时,要满足下述条件:Usually, the luminance L of pixels in the shadow area of the LUV space is lower than the luminance L of the background area, and the chromaticity of the shadow area is similar to that of the background area, but the value range of the difference is larger. When pixel i(x,y) is judged as a shadow point, the following conditions must be met:

a.θ1≦OL≤θ2,OL=iL(x,y)/bL(x,y)     (3)a.θ 1OL ≤θ 2 , OL =i L (x,y)/b L (x,y) (3)

bb .. Oo UVUV ≤≤ ββ ,, Oo UVUV == (( ii Uu (( xx ,, ythe y )) -- bb Uu (( xx ,, ythe y )) )) 22 ++ (( ii VV (( xx ,, ythe y )) -- bb VV (( xx ,, ythe y )) )) 22 -- -- -- (( 44 ))

这里,OL为亮度变化,OUV为色度变化,θ12,β是判定阈值。Here, OL is the brightness change, OU UV is the chromaticity change, θ 1 , θ 2 , β are the judgment thresholds.

当像素经阴影判定函数判断为阴影后,分别对该像素的OL,OUV分量进行混合高斯建模,进一步对阴影点进行验证,以降低阴影的错检率。When the pixel is judged as a shadow by the shadow judgment function, the mixed Gaussian modeling is performed on the OL and OU UV components of the pixel, and the shadow point is further verified to reduce the false detection rate of the shadow.

三、红外图像显著性检测。3. Infrared image saliency detection.

这里使用一个组合的DoG(高斯差分)滤波器来计算图像的高频和低频信息,单个DoG滤波器表示如下:A combined DoG (Difference of Gaussian) filter is used here to calculate the high-frequency and low-frequency information of the image. A single DoG filter is expressed as follows:

DoGDoG (( xx ,, ythe y )) == 11 ππ [[ 11 σσ 11 22 expexp (( -- xx 22 ++ ythe y 22 22 σσ 11 22 )) -- 11 σσ 22 22 expexp (( -- xx 22 ++ ythe y 22 22 σσ 22 22 )) ]] == GG (( xx ,, ythe y ,, σσ 11 )) -- GG (( xx ,, ythe y ,, σσ 22 )) -- -- -- (( 55 ))

DoG滤波器的带宽由ρ=σ12决定,σ12表示高斯标准差(σ1>σ2)。σ1决定着低频信息的选取,σ2决定着高频信息的选取。考虑M个DoG的组合滤波器:The bandwidth of the DoG filter is determined by ρ=σ 12 , where σ 1 and σ 2 represent the Gaussian standard deviation (σ 12 ). σ 1 determines the selection of low-frequency information, and σ 2 determines the selection of high-frequency information. Consider the combined filter of M DoGs:

ΣΣ mm == 00 Mm -- 11 (( GG (( xx ,, ythe y ,, ρρ mm ++ 11 σσ 22 )) -- GG (( xx ,, ythe y ,, ρρ mm σσ 22 )) )) =G=G (( xx ,, ythe y ,, ρρ Mm σσ 22 )) -- GG (( xx ,, ythe y ,, σσ 22 )) -- -- -- (( 66 ))

其中,M表示大于0的整数,式(6)可简化成两个高斯函数的差。组合滤波器的带宽可以由K=ρM决定。Among them, M represents an integer greater than 0, and formula (6) can be simplified as the difference of two Gaussian functions. The bandwidth of the combined filter can be determined by K= ρM .

实际计算红外视频序列的显著性特征,可以采用5×5的高斯平滑窗口来舍去最高频信息。令M=∞,使得K值尽可能大,这时G(x,y,ρMσ2)就是对整个图像的平均。红外图像的显著性计算如下:To actually calculate the salient features of the infrared video sequence, a 5×5 Gaussian smoothing window can be used to discard the highest frequency information. Let M=∞, make the value of K as large as possible, then G(x,y,ρ M σ 2 ) is the average of the whole image. The saliency of the infrared image is calculated as follows:

SalSal (( xx ,, ythe y )) == || || Hh uu -- Hh ww hchc (( xx ,, ythe y )) || || -- -- -- (( 77 ))

计算显著性之前,将颜色空间转换到CIELAB空间。Hu为图像平均值,是像素在高斯平滑后的颜色特征,||·||为L2范式。Before computing the saliency, the color space is converted to CIELAB space. Hu is the average value of the image, is the color feature of the pixel after Gaussian smoothing, and ||·|| is the L2 paradigm.

提取红外显著图之后,进行二值分割得到显著前景图SFtAfter extracting the infrared saliency map, perform binary segmentation to obtain the salient foreground map SF t .

四、融合红外和可见光检测结果。4. Fusion of infrared and visible light detection results.

记融合结果图为If,s,以可见光和红外两种检测结果标记像素点Record the fusion result picture as I f,s , and mark the pixels with visible light and infrared detection results

会产生三种可能的情况:Three possible situations arise:

(a)可见光前景检测结果和红外前景检测结果都表明该像素为前景点。即(a) Both visible light foreground detection results and infrared foreground detection results indicate that the pixel is a foreground point. Right now

VFt(x,y)=255,SFt(x,y)=255,        (8)VF t (x, y) = 255, SF t (x, y) = 255, (8)

此时标记If,s(x,y)=255。At this time, it is marked If,s (x,y)=255.

(b)可见光前景检测结果表明该像素为前景点,红外前景检测表明该像素不是前景点或可见光前景检测结果表明该像素不是前景点,红外前景检测表明该像素是前景点。这里采用对可见光图和红外显著图对应位置点加权平均的方式标记该像素值。此时融合像素点值标记为(b) The visible light foreground detection result indicates that the pixel is a foreground point, and the infrared foreground detection indicates that the pixel is not a foreground point, or the visible light foreground detection result indicates that the pixel is not a foreground point, and the infrared foreground detection indicates that the pixel is a foreground point. Here, the pixel value is marked in the way of weighted average of corresponding points in the visible light map and the infrared saliency map. At this time, the fusion pixel value is marked as

II ff ,, sthe s (( xx ,, ythe y )) == (( 11 ++ λλ )) VFVF tt (( xx ,, ythe y )) 33 ++ (( 22 -- λλ )) SalSal tt (( xx ,, ythe y )) 33 -- -- -- (( 99 ))

当显著图像素点8领域的平均值大于原图均值的2倍时λ=1,否则为0。When the average value of the salient image pixel 8 field is greater than twice the original image average value, λ=1, otherwise it is 0.

其中,mean()表示均值,Σneig8()表示8领域的和。Among them, mean() represents the mean value, and Σneig 8 () represents the sum of 8 fields.

(c)可见光前景检测结果和红外前景检测结果都表明该像素为非前景点。这里标记该像素点值为红外显著图对应位置点的三分之一。(c) Both visible light foreground detection results and infrared foreground detection results show that the pixel is a non-foreground point. Here, the value of the pixel marked is one-third of the corresponding position in the infrared saliency map.

II ff ,, sthe s (( xx ,, ythe y )) == SalSal tt (( xx ,, ythe y )) 33 -- -- -- (( 1111 ))

经过以上步骤得到融合结果图If,s后,进行二值分割,并作形态学处理,得到最终目标检测结果。After the fusion result map I f, s is obtained through the above steps, binary segmentation is performed and morphological processing is performed to obtain the final target detection result.

Claims (1)

1. the moving target detecting method merging based on visible ray and infrared detection result, is characterized in that comprising the following steps:
Step 1, for visible ray the first two field picture, from pixel (x, y) eight fields, choose at random N pixel value, initialization background model { B n, n=12 ..., N} correspondence position point;
Since the second two field picture, carry out pixel coupling; At moment t, judgement present frame I tat (x, y), locate pixel i (x, y) and background sample B npixel b (x, y) matching status:
Wherein, dis () represents the Euclidean distance between current pixel and background pixel, D d=20 represent distance threshold;
When meeting distance threshold D dnumber of times be less than T ctime, T c=2, this pixel of mark is prospect; Otherwise this pixel of mark is background;
Wherein, VF tbe a binary map, while representing foreground pixel, value is 255; While representing background pixel, value is 0;
Setting context update probability is φ, when pixel i (x, y) is labeled background pixel, has the probability of 1/ φ to upgrade its background model; Suppose certain background model B of this pixel nupgrade, first use i (x, y) to upgrade background model B ncorrespondence position pixel b (x, y); Then in sample B nin eight fields of correspondence position, choosing at random a location of pixels uses i (x, y) to upgrade respective pixel;
Step 2, in shadow region, LUV space, the brightness L of pixel can be lower than the brightness L of background area conventionally, and shadow region is similar to the colourity of background area, but the span of difference is larger; When pixel i (x, y) is judged as shadow spots, meet following condition:
a.θ 1≦O L≤θ 2,O L=i L(x,y)/b L(x,y) (3)
b . O UV ≤ β , O UV = ( i U ( x , y ) - b U ( x , y ) ) 2 + ( i V ( x , y ) - b V ( x , y ) ) 2 - - - ( 4 )
Here, O lfor brightness changes, O uVfor colourity changes, θ 1, θ 2, β is decision threshold;
When pixel is judged as after shade through shade decision function, the O to this pixel respectively l, O uVcomponent carries out Gaussian modeling, further shadow spots is verified, to reduce the fallout ratio of shade;
The high and low frequency information of the DoG wave filter computed image of step 3, a combination of use, single DoG wave filter represents as follows:
DoG ( x , y ) = 1 π [ 1 σ 1 2 exp ( - x 2 + y 2 2 σ 1 2 ) - 1 σ 2 2 exp ( - x 2 + y 2 2 σ 2 2 ) ] = G ( x , y , σ 1 ) - G ( x , y , σ 2 ) - - - ( 5 )
The bandwidth of DoG wave filter is by ρ=σ 1/ σ 2determine σ 1, σ 2represent Gauss's standard deviation (σ 1> σ 2); σ 1determining choosing of low-frequency information, σ 2determining choosing of high-frequency information; Consider the junction filter of M DoG:
Σ m = 0 M - 1 ( G ( x , y , ρ m + 1 σ 2 ) - G ( x , y , ρ m σ 2 ) ) =G ( x , y , ρ M σ 2 ) - G ( x , y , σ 2 ) - - - ( 6 )
Wherein, M represents to be greater than 0 integer, and formula (6) is simplified as the poor of two Gaussian functions; The bandwidth of junction filter is by K=ρ mdetermine;
The significant characteristics that calculates infrared video sequence, makes M=∞, makes K value large as far as possible, at this moment G (x, y, ρ mσ 2) be exactly average to whole image; The conspicuousness of infrared image is calculated as follows:
Sal ( x , y ) = | | H u - H w hc ( x , y ) | | - - - ( 7 )
Before calculating conspicuousness, color space conversion is arrived to CIELAB space; H ufor image averaging value, the color characteristic of pixel after Gaussian smoothing, || || be L2 normal form;
After extracting infrared remarkable figure, carry out binary segmentation and obtain remarkable foreground picture SF t;
Step 4, the infrared and visible detection result that merges;
Note fusion results figure is I f,s, with visible ray and infrared two kinds of testing result marker image vegetarian refreshments,
Can produce three kinds of possible situations:
(a) visible ray foreground detection result and infrared foreground detection result all show that this pixel is foreground point;
VF t(x,y)=255,SF t(x,y)=255, (8)
This tense marker I f,s(x, y)=255;
(b) visible ray foreground detection result shows that this pixel is foreground point, and infrared foreground detection shows that this pixel is not that foreground point or visible ray foreground detection result show that this pixel is not foreground point, and infrared foreground detection shows that this pixel is foreground point; Here adopt visible ray figure and infrared remarkable figure correspondence position are put to average weighted this pixel value of mode mark; Now merging pixel point value is labeled as
I f , s ( x , y ) = ( 1 + λ ) VF t ( x , y ) 3 + ( 2 - λ ) Sal t ( x , y ) 3 - - - ( 9 )
λ=1 when the mean value in specific image vegetarian refreshments 8 fields is greater than 2 times of former figure average, otherwise be 0;
Wherein, mean () represents average, Σ neig 8() represent 8 fields and;
(c) visible ray foreground detection result and infrared foreground detection result all show that this pixel is non-foreground point; Here this pixel point value of mark is 1/3rd of infrared remarkable figure correspondence position point;
I f , s ( x , y ) = Sal t ( x , y ) 3 - - - ( 11 )
Through above step, obtain fusion results figure I f,safter, carry out binary segmentation, and make morphology and process, obtain final target detection result.
CN201410350758.8A 2014-07-22 2014-07-22 Visible light and infrared detection result integration based moving target detection method Pending CN104123734A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410350758.8A CN104123734A (en) 2014-07-22 2014-07-22 Visible light and infrared detection result integration based moving target detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410350758.8A CN104123734A (en) 2014-07-22 2014-07-22 Visible light and infrared detection result integration based moving target detection method

Publications (1)

Publication Number Publication Date
CN104123734A true CN104123734A (en) 2014-10-29

Family

ID=51769131

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410350758.8A Pending CN104123734A (en) 2014-07-22 2014-07-22 Visible light and infrared detection result integration based moving target detection method

Country Status (1)

Country Link
CN (1) CN104123734A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104574335A (en) * 2015-01-14 2015-04-29 西安电子科技大学 Infrared and visible image fusion method based on saliency map and interest point convex hulls
CN105631898A (en) * 2015-12-28 2016-06-01 西北工业大学 Infrared motion object detection method based on spatio-temporal saliency fusion
CN106327461A (en) * 2015-06-16 2017-01-11 浙江大华技术股份有限公司 Image processing method and device used for monitoring
CN106548467A (en) * 2016-10-31 2017-03-29 广州飒特红外股份有限公司 The method and device of infrared image and visual image fusion
CN107146210A (en) * 2017-05-05 2017-09-08 南京大学 A kind of detection based on image procossing removes shadow method
CN107423709A (en) * 2017-07-27 2017-12-01 苏州经贸职业技术学院 A kind of object detection method for merging visible ray and far infrared
CN108180960A (en) * 2017-12-22 2018-06-19 深圳供电局有限公司 Method and device for detecting oil level state of transformer
CN108432232A (en) * 2015-11-06 2018-08-21 夜鹰安全产品有限责任公司 Safe camera system
CN108846404A (en) * 2018-06-25 2018-11-20 安徽大学 A kind of image significance detection method and device based on the sequence of related constraint figure
CN112200840A (en) * 2020-10-27 2021-01-08 北京深睿博联科技有限责任公司 Moving object detection system in visible light and infrared image combination
CN114332702A (en) * 2021-12-27 2022-04-12 浙江大华技术股份有限公司 Target area detection method and device, storage medium and electronic equipment
CN117952935A (en) * 2023-12-27 2024-04-30 中国长江电力股份有限公司 Photovoltaic panel shadow-induced hot spot recognition method based on visible light image threshold segmentation

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005157924A (en) * 2003-11-27 2005-06-16 Tech Res & Dev Inst Of Japan Def Agency Image motion detection device
CN103413303A (en) * 2013-07-29 2013-11-27 西北工业大学 Infrared target segmentation method based on joint obviousness

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005157924A (en) * 2003-11-27 2005-06-16 Tech Res & Dev Inst Of Japan Def Agency Image motion detection device
CN103413303A (en) * 2013-07-29 2013-11-27 西北工业大学 Infrared target segmentation method based on joint obviousness

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
I.ULUSOY 等: "New method for the fusion of complementary information from infrared and visual images for object detection", 《IET IMAGE PROCESS》 *
XIN WANG 等: "Infrared dim target detection based on visual attention", 《INFRARED PHYSICS & TECHNOLOGY》 *
孙水发 等: "室外视频前景检测中的形态学改进ViBe算法", 《计算机工程与应用》 *
张秀伟 等: "可见光-热红外视频运动目标融合检测的研究进展及展望", 《红外与毫米波学报》 *

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104574335A (en) * 2015-01-14 2015-04-29 西安电子科技大学 Infrared and visible image fusion method based on saliency map and interest point convex hulls
CN104574335B (en) * 2015-01-14 2018-01-23 西安电子科技大学 A kind of infrared and visible light image fusion method based on notable figure and point of interest convex closure
CN106327461A (en) * 2015-06-16 2017-01-11 浙江大华技术股份有限公司 Image processing method and device used for monitoring
CN106327461B (en) * 2015-06-16 2019-11-15 浙江大华技术股份有限公司 A kind of image processing method and device for monitoring
CN108432232B (en) * 2015-11-06 2021-03-05 夜鹰安全产品有限责任公司 Safety camera system
CN108432232A (en) * 2015-11-06 2018-08-21 夜鹰安全产品有限责任公司 Safe camera system
CN105631898B (en) * 2015-12-28 2019-04-19 西北工业大学 Infrared moving target detection method based on spatiotemporal saliency fusion
CN105631898A (en) * 2015-12-28 2016-06-01 西北工业大学 Infrared motion object detection method based on spatio-temporal saliency fusion
CN106548467A (en) * 2016-10-31 2017-03-29 广州飒特红外股份有限公司 The method and device of infrared image and visual image fusion
CN107146210A (en) * 2017-05-05 2017-09-08 南京大学 A kind of detection based on image procossing removes shadow method
CN107423709A (en) * 2017-07-27 2017-12-01 苏州经贸职业技术学院 A kind of object detection method for merging visible ray and far infrared
CN108180960A (en) * 2017-12-22 2018-06-19 深圳供电局有限公司 Method and device for detecting oil level state of transformer
CN108846404A (en) * 2018-06-25 2018-11-20 安徽大学 A kind of image significance detection method and device based on the sequence of related constraint figure
CN108846404B (en) * 2018-06-25 2021-10-01 安徽大学 A method and device for image saliency detection based on correlation constraint graph ranking
CN112200840A (en) * 2020-10-27 2021-01-08 北京深睿博联科技有限责任公司 Moving object detection system in visible light and infrared image combination
CN114332702A (en) * 2021-12-27 2022-04-12 浙江大华技术股份有限公司 Target area detection method and device, storage medium and electronic equipment
CN114332702B (en) * 2021-12-27 2026-01-13 浙江大华技术股份有限公司 Target area detection method and device, storage medium and electronic equipment
CN117952935A (en) * 2023-12-27 2024-04-30 中国长江电力股份有限公司 Photovoltaic panel shadow-induced hot spot recognition method based on visible light image threshold segmentation

Similar Documents

Publication Publication Date Title
CN104123734A (en) Visible light and infrared detection result integration based moving target detection method
CN104392468B (en) Moving Object Detection Method Based on Improved Visual Background Extraction
CN104091348B (en) The multi-object tracking method of fusion marked feature and piecemeal template
CN103077539B (en) Motion target tracking method under a kind of complex background and obstruction conditions
WO2022027931A1 (en) Video image-based foreground detection method for vehicle in motion
CN103268470B (en) Object video real-time statistical method based on any scene
CN103679677B (en) A kind of bimodulus image decision level fusion tracking updating mutually based on model
CN105046206B (en) Based on the pedestrian detection method and device for moving prior information in video
CN103810716B (en) Move and the image partition method of Renyi entropy based on gray scale
CN112017445B (en) Pedestrian violation prediction and motion trail tracking system and method
CN111539980B (en) A multi-target tracking method based on visible light
CN107491762A (en) A kind of pedestrian detection method
CN107146210A (en) A kind of detection based on image procossing removes shadow method
CN113221603A (en) Method and device for detecting shielding of monitoring equipment by foreign matters
Zhang et al. Saliency‐based dark channel prior model for single image haze removal
CN105488811A (en) Depth gradient-based target tracking method and system
CN107038690A (en) A kind of motion shadow removal method based on multi-feature fusion
CN104766344B (en) Vehicle checking method based on movement edge extractor
CN108538052A (en) Night traffic flow rate testing methods based on headlight track following and dynamic pairing
CN101364304A (en) Shadow detection method based on color invariance and Gaussian model
CN104143077B (en) Pedestrian target search method and system based on image
CN105447489A (en) Character and background adhesion noise elimination method for image OCR system
CN105046670A (en) Image rain removal method and system
Avery et al. Investigation into shadow removal from traffic images
CN104835142A (en) Vehicle queuing length detection method based on texture features

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20141029