
第19卷第12期 2011年12月
1004-924X(2011)12-2992-07
文章编号
光学精密工程
Optics and Precision Engineering
Vol, 19No.12
Dec.2011
离散噪声图像的光斑质心算法及其硬件实现
樊巧云*,张广军
(北京航空航天大学仪器科学与光电工程学院
精密光机电一体化技术教育部重点实验室,北京100191)
摘要:针对现有的光班质心算法无法直接处理含有离散噪声点的图像,提出一种不依赖去噪预处理和噪声点别除后处理,本身具有抗单点噪声能力的光斑质心定位算法,并通过现场可编程门阵列(FPGA)实现了该算法。首先分别标记背景像索、噪声像素和光斑像素;然后通过对相邻像素标记的判断,完成对当前像索的标记;同时对属于同一光班的像素进行质心参数累加,但不累加和存储判断为真正噪声点的像索。与现有方法相比,该方法能够充分利用FPGA的并行处理能力,在图像像索输出的同时完成光斑质心提取和噪声点像素去除,而且不需要存储预处理图像和噪声点像索,节省了
存储空间。该方法为由于图像传感器长时间曝光而引起的高亮度高散噪声光班图像的处理提供了有效的途径。关键调:噪声图像;光班;质心算法;现场可编程门降列
中图分类号:TP391.4
文献标识码:A
doi;10, 3788/OPE. 20111912. 2992
Spot centroiding algorithm for discretenoise image
and itshardwareimplementation
FANQiao-yun',ZHANGGuang-jun
(KeyLaboratoryofPrecisionOpto-mechatronicsTechnology,
MinistryofEducation,SchoolofInstrumentalScienceandOpto-electronics
Engineering,BeihangUniversity,Beijing100191,China) Correspondingauthor,E-mail.fqy2003@aspe.buaa.edu.cn
Abstract:A spot centroiding algorithm immunefrom noisepixels isproposed to improve theexisting centroiding algorithms that can not process images with discrete noise pixels directly, and it is a-chieved by a Field Programmable Gate Array(FPGA). This algorithm does not depend on noise pre process or post-process to eliminate noise pixels.Firstly,the algorithm marks the background pixel, noise pixel and the spot pixel, respectively, then each pixel is marked after it is compared with the neighbouring one. At the same time, centroid parameters that belong to the same spot are accumula-ted, while the real noise pixel is bypassed. Compared with currently existing algorithms, this method takes full advantage of the parallel processing ability of the FPGA. It can extract spot centroid coordi-nates and eliminate the noise pixel simultaneously when the image pixel is output,the pre-process im age is not needed and the storage space is saved. This algorithm is especially suitable for processing
收稿日期:2011-03-14;修订日期:2011-04-15.
基金项目:国家自然科学基金资助项目(No.61008032)