Skip to Main Content
In this paper, we propose the design and implementation of an interpolation scheme for performing image scaling by utilizing a dynamic mask combined with a sophisticated neighborhood averaging fuzzy algorithm. The functions that contribute to the final interpolated image are the areas of the input pixels, overlapped by a dynamic mask, and the difference in intensity between the input pixels. Fuzzy if-then rules for these two functions are presented to carry out the interpolation task. Simulation results have shown a fine high-frequency response and a low interpolation error, in comparison with other widely used algorithms. The interpolation can be applied to both gray-scale and color images for any scaling factor. The proposed hardware structure is implemented in a field-programmable gate array (FPGA) chip and is based on a sequence of pipeline stages and parallel processing to minimize computation times. The fuzzy image interpolation implementation combines a fuzzy inference system and an image-interpolation technique in one hardware system. Its main features are the ability to accurately approximate the Gaussian membership functions used by the fuzzy inference system with very few memory requirements and its high-frequency performance of 65 MHz, making it appropriate for real-time imaging applications. The system can magnify gray-scale images of up to 10-bit resolution. The maximum input image size is 1024 times 1024 pixels for a maximum of 800% magnification.