摘要
医用内窥镜的探头体积有限,使用环境特殊,照明条件有限,故图像的暗部处理显得尤为重要。本设计提出一种快速的彩色图像暗部增强算法,首先对采集到的RGB888格式视频流图像进行通道分离,然后通过卷积的方式对每个通道进行特定窗口大小的均值滤波来进行区域特征提取。最后对滤波后三个通道的每个对应点取平均值,代入特定参数的Logistic函数,得到的结果为该帧图像该位置像素点的增益,并将其应用于原图。本设计以Xilnx公司推出的Zynq系列ARM+FPGA SoC平台为载体,使用Vivado HLS进行AXI-Stream接口视频流处理算法的开发,并生成IP在FPGA端运行。经过实验,本算法在Zynq7020平台处理400×400@30 fps的一帧图像仅需1.6 ms,保证了视频流输出的实时性。同时把内窥镜伸入口腔观察算法处理前后的视频流图像可知,本算法在保证区域对比度的同时增强了暗部亮度,较好的提升了医用内窥镜视频流的暗部质量。
The probe volume of medical endoscope is limited, the use environment is special, and the lighting conditions are limited, so the dark part processing of image is particularly important. This design proposes a fast dark part enhancement algorithm for color image. Firstly, the collected RGB888 format video stream images are channel separated, and then the mean filter of specific window size is carried out for each channel through convolution to extract the regional features. Finally, the average value of each corresponding point of the three channels after filtering is taken and substitute it into the Logistic function of specific parameters. The result is the gain of the pixel point at that position of the frame image, which is applied to the original image. The design takes the Zynq series ARM+FPGA SoC platform launched by Xilnx as the carrier, uses Vivado HLS to develop the AXI-Stream interface video stream processing algorithm, and generates IP to run on the FPGA. After experiments, this algorithm only needs 1.6 milliseconds to process a frame of 400×400@30 fps on the Zynq7020 platform, which ensures the real-time output of the video stream. At the same time, the endoscope is inserted into the oral cavity to observe the video stream images before and after the algorithm processing.The algorithm enhances the brightness of the dark part while ensuring the regional contrast, and improves the dark part quality of medical endoscope video stream.
作者
王云峰
范正吉
何鑫
景金荣
洪应平
Wang Yunfeng;Fan Zhengji;He Xin Jing;Jinrong Hong;Yingping(Key Laboratory of Instrumentation Science and Dynamic Measurement,Ministry of Education,North University of China,Taiyuan 030051,China)
出处
《电子测量技术》
北大核心
2022年第23期31-37,共7页
Electronic Measurement Technology
基金
国家自然科学基金青年科学基金(51705475)项目资助。
作者简介
王云峰,硕士研究生,主要研究方向为FPGA 数字信号处理与图像处理。E-mail:941157912@qq.com;通信作者:洪应平,讲师,主要研究方向为极端环境下测试技术及仪器研究。E-mail:hongyingping@nuc.edu.cn。