APP下载

基于局部特征的图像插值算法在B/S视频监控中的应用

2015-02-19孟利民包轶名

浙江工业大学学报 2015年2期

孟利民,包轶名

(浙江工业大学 信息工程学院,浙江 杭州 310023)

基于局部特征的图像插值算法在B/S视频监控中的应用

孟利民,包轶名

(浙江工业大学 信息工程学院,浙江 杭州 310023)

摘要:在B/S模式的视频监控应用中,针对传统的双线性插值图像放大算法会造成图像细节模糊的问题,提出一种改进算法.先计算4个邻点灰度的标准差,通过判断标准差是否大于某个阈值来将图像分为边缘区域和非边缘区域,对于非边缘区域的像素点直接使用双线性插值算法,对于边缘区域的像素点,采用最邻近和双线性插值算法进行加权融合所得的结果.并设计与实现了B/S模式的视频监控系统,在系统中应用改进算法对视频图像进行放大.实验结果表明,该算法可以避免最邻近插值产生的局部锯齿问题,同时也改进了双线性插值造成的图像细节模糊,能够改善视频图像放大后的视觉效果。

关键词:B/S模式;视频监控;图像放大;双线性插值;加权融合

Image interpolation algorithm based on local feature and its application in B/S video surveillance

MENG Limin, BAO Yiming

(College of Information Engineering, Zhejiang University of Technology, Hangzhou 310023, China)

Abstract:In order to solve the problem of image detail fuzzy caused by traditional bilinear interpolation algorithm used in B/S mode video surveillance application, this paper proposes an improved algorithm. In this algorithm, the standard deviation of grey value of the 4 neighbor points are calculated, then the image is divided into edge region and non-edge region according to a certain threshold. For the pixels in non-edge region, the bilinear interpolation algorithm will be used directly. For the pixels in edge region, the nearest neighbor and bilinear interpolation algorithms are used to get weighted fusion result. A B/S mode video surveillance system is designed and implemented in this paper and the improved algorithm is usded to zoom the video image in the system. The experimental results indicate that the algorithm can avoid local aliasing problem caused by nearest neighbor interpolation and improve the image detail fuzzy problem caused by bilinear interpolation. So it can improve the visual effect of the zoomed video image。

Keywords:B/S mode; video surveillance; image zooming; bilinear interpolation; weighted fusion

传统的视频监控应用软件一般由C/S模式来实现[1],然而由于这种模式的软件维护成本高,客户端的安装和更新也较为麻烦,已经越来越少地被开发者所采用[2].与此同时,由于互联网的飞速发展,以及B/S模式相较于C/S模式的优势,将具体的应用以Web页面的形式呈现在浏览器中已经成为软件开发的主流.而在B/S模式的视频监控应用中,视频图像的放大是最常用的功能之一,人们经常希望利用这种方式来更好地观察图……

登录APP查看全文