基于FPGA的九点最临近插值算法的设计与实现OA
Design and Implementation of Nine-point Nearest Interpolation Algorithm Based on FPGA
在FPGA中,以流水线实现双线性插值算法消耗资源较多,文章提出了九点最临近插值算法,通过使用线性计算得出待测点映射到的位置附近的九点灰度值,待插值像素点的像素值等于九点中距离其映射到位置最近像素点的像素值,完成九点最临近插值算法.实验表明九点最临近插值算法在FPGA硬件资源中,块存储器总数节约21.258 7%,寄存器总数节约 20.141 3%.在图像插值精度中,对三种不同种类的图片的平滑度比为:109.632 3%、104.966 0%、106.568 8%;信息熵比为 99.995 9%、99.946 1%、99.933 2%.九点最临近插值算法在减少资源消耗的情况下,基本达到双线性插值算法要求.
In FPGAs,implementing the bilinear interpolation algorithm through pipelines consumes significant resources.This paper proposes a nine-point nearest neighbor interpolation algorithm.By using linear calculation,the grayscale values of the nine points near the mapped position of the point to be measured are obtained.The pixel value of the pixel to be interpolated is set equal to the pixel value of the nearest pixel among the nine points to the mapped position,thus completing the nine-point nearest neighbor interpolation algorithm.Experiments show that in FPGA hardware resources,the nine-point nearest neighbor interpolation algorithm saves 21.258 7%of the total block memory and 20.141 3%of the total registers.In terms of image interpolation accuracy,the smoothness ratios for three different types of images are 109.632 3%,104.966 0%,and 106.568 8%,respectively,while the information entropy ratios are 99.995 9%,99.946 1%,and 99.933 2%,respectively.The nine-point nearest neighbor interpolation algorithm basically meets the requirements of the bilinear interpolation algorithm while reducing resource consumption.
管浩洋;刘德全;孟祥意
宁夏师范大学 物理与电子信息工程学院,宁夏 固原 756099宁夏师范大学 物理与电子信息工程学院,宁夏 固原 756099宁夏师范大学 物理与电子信息工程学院,宁夏 固原 756099
计算机与自动化
现场可编程门阵列(FPGA)九点最临近插值平均梯度幅值信息熵
Field-Programmable Gate Array(FPGA)nine-point nearest neighbor interpolationaverage gradient amplitudeinformation entropy
《现代信息科技》 2025 (12)
41-44,49,5
宁夏教育厅高等学校科学研究项目(NYG2024169)
评论