搜档网
当前位置:搜档网 › 基于模板匹配算法的人眼定位方法

基于模板匹配算法的人眼定位方法

收稿日期:2013-03-28

修回日期:2013-04-21基金项目:广西自然科学基金(2013GXNSFBA019277);桂科重项目(1355001-2-5);桂博资助项目(2011-3-9)作者简介:刘源(1978-),男,湖北利川人,博士研究生,副教授。研究方向:计算机应用技术。*摘要:为了解决不同光线下人眼定位问题,提出一种将灰度阈值算法和模板匹配算法相结合的人眼定位方

法。在该方法中,先对图像进行预处理,得到二值化图像,然后利用灰度阈值法,对图像的灰度值进行分析和比较,初步定位人眼可能出现的大概位置,缩小后期模板匹配区域。进一步利用模板匹配算法,在频域上匹配人眼,通过不同光线下采用相应的匹配权值进行匹配,精确定位人眼。实验结果证明,与传统单一模板匹配算法相比,该算法具有较好的光照鲁棒性,能够显著提高人眼的定位速度和定位准确度。

关键词:人眼定位,灰度阈值,模板匹配,人脸识别

中图分类号:TP751文献标识码:A

基于模板匹配算法的人眼定位方法*

刘源

(桂林理工大学信息科学与工程学院,广西桂林541004)

Study on Eye Location Method Based on Template Matching Algorithm

LIU Yuan

(School of Information Science and Engineering ,Guilin University of Technology ,Guilin 541004,China )

Abstract :To solve the problem of eye location in different lights ,a new method of eye location is put forward ,by the combination use of gray threshold method and template matching algorithm.To acquire the gray image ,the original image is preprocessed at first of this method ,and then to compare with the gray value of gray image by the use of gray threshold method ,approximate location where human eyes may appear is analyzed ,furthermore the matching area of later template is reduced.At last ,the human eyes are accurately matched in the frequency domain by the usage of template matching algorithm ,which has different formulas in different lights.The result shows that compared with traditional template matching algorithm ,the algorithm improves the speed and accuracy of eye location with good illumination robustness.Key words :

eye location ,gray threshold ,template matching ,face recognition 引言人眼定位[1]成为人脸识别的关键。目前人眼定

位的方法有Hough 变换法[2]、边缘特征法、模板匹

配法等。但是这些方法都存在很多问题,大多数研

究者都是单一的运用其中的一种方法进行人眼定

位,这样会出现如定位准确率不高,速度慢,计算量

大等问题。根据人脸图像灰度特征的几何形状,为

了提高人眼定位的准确率和计算速度,本文提出了

一种将灰度阈值和模板匹配相结合的算法。该方法可以在不同光线下的图像进行人眼定位,达到精确

定位和提高计算速度的目的。

1算法简介(1)灰度阈值法是利用亮度级对图像进行阈值处理分割出形状的算法。人眼虹膜的灰度值通常要比肤色的灰度值低,选用恰当的阈值[3],就可以较准确地初步定位人眼。阈值法处理对于光照条件的要求非常敏感,一旦光照条件发生变化时,待检测目标的亮度就会随之产生变化,直方图均衡化的相文章编号:1002-0640(2014)05-0124-03Vol.39,No.5

May ,2014

火力与指挥控制Fire Control &Command Control 第39卷第5期2014年5月

124··

相关主题