>
Fa   |   Ar   |   En
   تبدیل تصاویر رنگی rgb به خاکستری به روش میانگین‌گیری وزن‌دهی شده با استفاده از جابه‌جایی و جمعِ ترکیب‌ مولفه‌های رنگی جهت کاهش واحدهای محاسباتی و خطا در تراشه‌های fpga  
   
نویسنده عجمین همدانی مهدی ,سنائی پیام
منبع روش هاي هوشمند در صنعت برق - 1404 - دوره : 16 - شماره : 63 - صفحه:61 -82
چکیده    تبدیل تصاویر رنگی rgb به خاکستری یکی از مسائل مهم و اساسی در حوزة پردازش تصویر بوده، از این رو روش‌های متعددی برای پیاده‌سازی سخت‌افزاری الگوریتم‌های مربوطه ارائه گردیده است. الگوریتم‌های تبدیل تصاویر رنگی به خاکستری در بخش پیش‌پردازش اکثر برنامه‌های بینایی ماشین، جهت تشخیص چهره و اشیاء به کار برده می‌شوند. در اکثر مسائل مرتبط با بازشناسی تصاویر، اطلاعات از طریق دوربین‌های تصویربرداری دیجیتال دریافت شده، از این رو نرخ داده‌های ورودی به سامانة سخت‌افزاری بسیار بالا است. بنابراین برای پردازش‌ بی‌درنگ و محاسبة در لحظة الگوریتم‌های به کار برده شده، نیازمند سرعت بخشیدن به محاسبات هستیم. یکی از راه‌کار‌های سخت‌افزاری برای انجام سریع این محاسبات، استفاده از تراشه‌های مجتمع منطقی برنامه‌پذیر (fpga) است. از مزایای این تراشه‌ها، امکان پیاده‌سازی سخت‌افزاری الگوریتم‌های محاسباتی به­صورت پردازش موازی، همروند و مدار‌های منطقی تمام ترکیبی است. در این مقاله برای کاهش خطای محاسباتی از سیستم عددی ممیز ثابت استفاده شده و مصالحه‌ای بین دقت و تعداد بلوک‌های منطقی به کار رفته ایجاد شده است. این امر به مدیریت منابع سخت‌افزاری کمک بسزایی می‌کند. همچنین روش‌های مختلفی برای تبدیل تصاویر رنگی به خاکستری روی تراشه‌های fpga ارزان قیمت طراحی شده، و نتایج با یکدیگر مقایسه شده‌اند. با استفاده از روش ترکیب مولفه‌های رنگی در محاسبات اعشاری ممیز ثابت (ضرایب مولفه‌ها 8 یا 15بیت اعشار و محاسبات 8 بیت اعشار) شاخص خطای میانگین مربعات (mse) در تصویر خاکستری شدة لنا 512×512 برابر با 0184/0 گشت و برای پیاده‌سازی سخت‌افزار متناظر، 105 بلوک منطقی(lb)  به­کار گرفته شده است.

کلیدواژه اعداد ممیز ثابت ,پردازش تصویر ,تبدیل تصاویر رنگی به تصاویر خاکستری ,تراشه‌های مجتمع منطقی برنامه‌پذیر ,الگوریتم‌های محاسباتی
آدرس دانشگاه آزاد اسلامی واحد نجف‌آباد, دانشکده مهندسی برق, ایران. , دانشگاه آزاد اسلامی واحد نجف‌آباد, مرکز تحقیقات پردازش دیجیتال و بینایی ماشین, ایران.
پست الکترونیکی p.sanaee@pel.iaun.ac.ir
 
   converting rgb images to gray-scale by the weighted average method, based on shift-and-add technique on the combination of color components for reducing the computational units and errors in fpga  
   
Authors ajamin hamednai mahdi ,sanaee payam
Abstract    converting rgb (red-green-blue) images to gray-scale is one of the important and fundamental issues in the field of image processing, so many algorithms have been developed to achieve this purpose. these algorithms are used in the most of the machine vision applications pre-processing unit to recognize face, target and objects. in the nearly all image recognition processes, the frame rate of the images which are applied to the system through the digital cameras, is too high; therefore, in order to achieve real-time processing, the speed of algorithm calculations must be increased. field programmable gate arrays (fpga) chips are one of the choices to process algorithms by hardware rapidly. the advantages of these chips are the possibility of hardware implementation of procedures by concurrent and parallel processing algorithms and fully combinational logic circuits. in this research to reduce the calculation error, we used a fixed-point system, and we have a tradeoff between the accuracy and the used logic-blocks. this will help us to manage the hardware resources perfectly. in this article, we design and compare different methods to convert color image to gray on inexpensive fpga chip. by using the combining color components method with fixed-point calculations (the fractional part of the image components coefficients are 8/15 bits, and in the calculations, the fractional part of numbers 8 bits), the mean square error (mse) index for the lenna 512×512 grayscale image was 0.0184 and 105 logic block (lb) units were used to implement the corresponding hardware.

Keywords computational complexity ,fixed-point ,field programmable gate arrays ,image processing ,rgb (red-green-blue) to gray-scale
 
 

Copyright 2023
Islamic World Science Citation Center
All Rights Reserved