Rustem Popa*
Department of Electronics and Telecommunications, “Dunarea de Jos” University in Galati, Romania
*Corresponding Author: Rustem Popa, Department of Electronics and Telecommunications, “Dunarea de Jos” University in Galati, Romania.
Received: November 23, 2021; Published: December 23, 2021
After a brief review of the possibilities of implementing an algorithm, we analyze the implementation of an algorithm for coloring a monochrome image in an FPGA (Field Programmable Gate Array) circuit. Each pixel in shades of gray in the monochrome image receives one of 16 possible colors, according to its position in the color image. Although the approximation is crude, given that the original image has more than 16 million distinct colors, a comparison between the two images indicates a PSNR (Peak Signal to Noise Ratio) value of almost 25 dB, and the appearance of the color image is acceptable. The algorithm was implemented in the MATLAB environment and then in the FPGA using the integrated Xilinx ISE design environment. The color images generated in this way were identical, but the execution speed in FPGA was 185 times faster.
Keywords: Image Processing; Image Coloring; Circuit Simulation; Field Programmable Gate Arrays (FPGAs); MATLAB Environment
Citation: Rustem Popa. “How to Implement an Algorithm in Hardware". Acta Scientific Computer Sciences 4.1 (2022): 41-45.
Copyright: © 2022 Rustem Popa. This is an open-access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.