The invention discloses a smoke detection method and a device, belonging to the field of digital image and video processing. The method includes: video input for target detection, target area; calculation of internal similarity and surrounding regional differences within target region similarity calculation; internal similarities and differences with the surrounding region around the target area and regional differences; according to the internal similarities and differences within the similarity with the surrounding region and with the surrounding regional difference and similarity judgment inside and surrounding regional differences in target area is smoke. The embodiment of the invention, through the classification of the target area and block feature, also considering the difference between the target area and the surrounding area of the background to obtain the result finally, which can effectively distinguish the smoke target and smoke target.
【技术实现步骤摘要】
一种烟雾检测方法和装置
本专利技术涉及数字图像与视频处理领域,尤其涉及火灾监控的一种基于ULBP以及Adaboost的烟雾检测方法和装置。
技术介绍
纹理特征是烟雾检测中使用的重要特征,局部二值模式(LocalBinaryPattern,简称LBP)作为代表性的纹理特征之一,更是受到了广泛的关注,基于LBP的各种烟雾检测算法更是近年来研究的热点问题。自从Ojala首次把LBP定义为均匀模式的LBP(uniformLocalBinaryPattern,简称ULBP),旋转不变的LBP(rotation-invariantLocalBinaryPattern,简称RLBP)以及均匀的旋转不变的LBP(rotation-invariant-uniformLocalBinaryPattern,简称RULBP)这三种模式,就有越来越多的研究者开始研究LBP相关的算法。为了提高LBP特征的区分性,很多LBP的改进算法被纷纷提出。比如:为了避免LBP使用过程中造成的全局信息丢失,计算出每个像素点的LBP值的一系列衍生的LBP。再如:通过拉东变换得到纹理图像的主方向,然后在主方向上计算小波变换产生的能量特征。还有一种拉长的局部二值模式(ElongatedLocalBinaryPattern,简称ELBP),该方法中利用椭圆形区域代替原来的原形区域来作为LBP提取的基本子块。基于LBP与Adaboost的方法虽然证明在烟雾的检测上能取得较好的效果,但因为在一些场景中的类烟雾目标都拥有着和烟雾相近的特性,所以单纯考虑目标区域的特征很难将烟雾与验视频进行准确的区分,即不能有效的 ...
【技术保护点】
一种烟雾检测方法,其特征在于,该方法包括:对输入的视频图像进行目标区域检测,得到目标区域;计算所述目标区域内部相似性,包括:在目标区域内随机选取子块;提取每个子块的ULBP特征;利用Adaboost分类器对ULBP特征进行分类,得到内部相似性;计算所述目标区域与周围区域差异性;根据所述内部相似性和与周围区域差异性判决所述目标区域是否为烟雾。
【技术特征摘要】
1.一种烟雾检测方法,其特征在于,该方法包括:对输入的视频图像进行目标区域检测,得到目标区域;计算所述目标区域内部相似性,包括:在目标区域内随机选取子块;提取每个子块的ULBP特征;利用Adaboost分类器对ULBP特征进行分类,得到内部相似性;计算所述目标区域与周围区域差异性;根据所述内部相似性和与周围区域差异性判决所述目标区域是否为烟雾。2.根据权利要求1所述的烟雾检测方法,其特征在于,所述利用Adaboost分类器对ULBP特征进行分类按以下公式计算:其中,sim表示内部相似性,K表示子块数量,xk表示第k个子块U-LBP特征,Wk为第k个随机块的权重,H(xk)为Adaboost分类器对输入特征xk得到的分类结果。3.根据权利要求1所述的烟雾检测方法,其特征在于,计算所述目标区域与周围区域的周围差异性进一步包括:将目标区域周围划分成若干个子区域;提取周围区域子区域内的ULBP特征及颜色特征;计算周围区域子区域与目标区域子块的相似性。4.根据权利要求1所述的烟雾检测方法,其特征在于,根据所述内部相似性和与周围区域差异性判决所述目标区域是否为烟雾包括:当目标区域内部相似性大于预设的第一阈值时,且目标区域与周围区域差异性大于预设的第二阈值时,则判断该目标区域为烟雾区域。5.根据权利要求1所述的烟雾检测方法,其特征在于,所述方法之后还包括...
【专利技术属性】
技术研发人员:田永鸿,陈佳秋,王耀威,黄铁军,
申请(专利权)人:中安消技术有限公司,北京大学,
类型:发明
国别省市:北京,11
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。