计算机视觉检测 白皓月,Hough变换和轮廓匹配相结合的瞳孔精确检测算法

编程入门 行业动态 更新时间:2024-10-27 13:35:08

计算机视觉检测 白<a href=https://www.elefans.com/category/jswz/34/1768572.html style=皓月,Hough变换和轮廓匹配相结合的瞳孔精确检测算法"/>

计算机视觉检测 白皓月,Hough变换和轮廓匹配相结合的瞳孔精确检测算法

摘要

针对红外眼部视频中瞳孔直径检测精度不够高的问题,提出了一种将Hough圆变换和轮廓匹配相结合的瞳孔检测算法(Hough-Contour)。对每帧图像,首先进行灰度化并滤波去噪;然后提取边缘并利用修改后的Hough梯度法检测出初始圆作为瞳孔参数;最后在滤波后的灰度图上的瞳孔附近用位置和半径在一定范围可变的圆形轮廓去匹配瞳孔,从而计算出瞳孔中心坐标和直径。在Hough变换阶段,将Hough梯度法中的对候选圆心按累加值降序排序这一步骤改为寻找最大值,以降低该操作以及后续计算半径的时耗。通过实验寻找到圆心累加数组最大值的阈值,使其能自动排除闭眼帧且不会导致漏检。在轮廓匹配阶段,实验发现如果圆形轮廓的移动范围和半径伸缩范围取值为初始圆半径的十分之一,点对数取值为40,则可将瞳孔的精确匹配率从Open CV圆变换检测算法的约10%提高至99.8%。对算法的时间性能作了测试,在实验所用的低端电脑上处理一帧需要60 ms,在高端电脑上可以对红外瞳孔视频做到实时检测。

In order to improve the precision of detection on the diameter of pupils in infrared eye videos,an exact pupil detection algorithm( Hough-Contour) combining Hough transformation and contour matching was proposed. Firstly,each image frame was grayed and filtered; secondly,the edge of the image was extracted and the initial circle was detected and taken as the pupil parameter by the revised Hough gradient method; finally,around the pupil,a circular contour whose position and radius varies in a limited range was used to match the pupil,realizing the calculation of pupil center's coordinate and diameter. In the phase of Hough transformation,the descending sort of candidate circle centers according to their accumulated values in Hough transformation was turned into searching for their maximum,in order to reduce the time consumption of this proceeding and the calculation of radius later. In the experiment,the threshold of the maximum in the array of accumulated values was searched and the image frames of closing eyes were excluded by this threshold. In the phase of contour matching,the experiment shows that if the range of the circular contour moving and stretching was assigned one tenth of the radius of the initial circle,and if the number of point pairs was assigned 40,the precision of detection on pupils would reach 99. 8% from around 10% which was attained by Open CV circle transformation. In the experiments on time performance,the proposed algorithm needed 60 ms to process one frame on the low-end computers,and the real-time detection on infrared eye videos can be achieved on the high-end computers.

更多推荐

计算机视觉检测 白皓月,Hough变换和轮廓匹配相结合的瞳孔精确检测算法

本文发布于:2023-06-30 17:39:19,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/963834.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:皓月   瞳孔   轮廓   算法   精确

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!