以FPGA實現色彩強化之即時影像於弱視輔具
Realization of Real-Time Color-Enhanced Image Processing for FPGA Based Low Vision Aid
摘要
目的:針對現有的弱視輔具系統來發展一套色彩強化演算法,以硬體方式將影像做色彩強化的處理,使弱視者能夠觀看即時的色彩強化影像,增進弱視者對於影像中色彩的辨識率。
方法:利用彩色顯示器使用RGB三原色顯示影像的特性,在RGB色彩空間中透過色彩強化演算法將色彩飽和度提高。首先藉由三原色的振幅分析分別得到單點像素其主色、副色與底色的振幅,接著藉由顯示器的最大動態範圍與主色的振幅來計算最大的振幅放大倍率,再透過非線性轉換將最大的振幅放大倍率轉換為合適的放大倍率,最後將主色、副色與底色的振幅同乘上此放大倍率,藉此提高色彩的飽和度。使用色環分析與色階分布來評估色彩強化的效果與差異。使用ALTERA Cyclone® II EP2C70場域可規劃邏輯陣列閘(Field Programmable Gate Array, FPGA)晶片來設計數位電路,藉由管線化(Pipeline)的硬體多工架構實現即時色彩強化演算法。
結果:結合弱視輔具系統以及色彩強化演算法的數位電路,使用平行管線化的電路架構,在時脈27M Hz下可以輸出每秒64張解析度為640×480有效像素大小、24位元深度RGB全彩的強化影像畫面,相容於視訊電子標準協會(Video Elecronics Standards Association, VESA)所制定的時序與規格。
結論:本研究使用振幅分析的方式,並考量彩色顯示器最大動態範圍的動態放大倍率概念,取代過去在影像處理中常見的定倍率放大方法,提供一個適合彩色顯示器具有固定動態範圍特性的影像處理方法。本研究利用硬體方式實現即時色彩強化演算法,結合現有的弱視輔具系統,透過濾波強化的灰階處理以及色彩強化處理,提供即時彩色強化影像給予弱視者觀看。
關鍵詞:弱視輔具,色彩強化,場域可規劃邏輯陣列閘。
方法:利用彩色顯示器使用RGB三原色顯示影像的特性,在RGB色彩空間中透過色彩強化演算法將色彩飽和度提高。首先藉由三原色的振幅分析分別得到單點像素其主色、副色與底色的振幅,接著藉由顯示器的最大動態範圍與主色的振幅來計算最大的振幅放大倍率,再透過非線性轉換將最大的振幅放大倍率轉換為合適的放大倍率,最後將主色、副色與底色的振幅同乘上此放大倍率,藉此提高色彩的飽和度。使用色環分析與色階分布來評估色彩強化的效果與差異。使用ALTERA Cyclone® II EP2C70場域可規劃邏輯陣列閘(Field Programmable Gate Array, FPGA)晶片來設計數位電路,藉由管線化(Pipeline)的硬體多工架構實現即時色彩強化演算法。
結果:結合弱視輔具系統以及色彩強化演算法的數位電路,使用平行管線化的電路架構,在時脈27M Hz下可以輸出每秒64張解析度為640×480有效像素大小、24位元深度RGB全彩的強化影像畫面,相容於視訊電子標準協會(Video Elecronics Standards Association, VESA)所制定的時序與規格。
結論:本研究使用振幅分析的方式,並考量彩色顯示器最大動態範圍的動態放大倍率概念,取代過去在影像處理中常見的定倍率放大方法,提供一個適合彩色顯示器具有固定動態範圍特性的影像處理方法。本研究利用硬體方式實現即時色彩強化演算法,結合現有的弱視輔具系統,透過濾波強化的灰階處理以及色彩強化處理,提供即時彩色強化影像給予弱視者觀看。
關鍵詞:弱視輔具,色彩強化,場域可規劃邏輯陣列閘。
Objective:
The central purpose of this research attempts to add the technique of real-time color enhancement to the present low vision aid so that the low vision patients can see even more information from the images by distinct color and high contrast.
Method:
In order to keep exact color while processing color enhancement, we develop the new algorithm of color enhancement. We analyze the color with the view of the amplitude and enhance color with the concept of the dynamic range. In this way, we would secure not to use the wrong color gamut. We realize the algorithm through the FPGA (Field Programmable Gate Array, ALTERA Cyclone ® II EP2C70), and add the algorithm into the present low vision aid.
Result:
Our algorithm can enhance color in the exact color gamut, and we successfully add the algorithm into the present low vision aid. When the system clock runs at 27 MHz, an image is in size of 640x480 and resolution of 24-bit, the output of enhanced images can reach 64 frames per second.
Conclusion:
We develop the new algorithm of color enhancement and substitute the traditional methods, so the new method can offer low vision patients to watch much brighter-coloured images and let them more intuitively understand what they see.
Keyword:Low Vision Aid, Color Enhance, Field Programmable Gate Array (FPGA)
The central purpose of this research attempts to add the technique of real-time color enhancement to the present low vision aid so that the low vision patients can see even more information from the images by distinct color and high contrast.
Method:
In order to keep exact color while processing color enhancement, we develop the new algorithm of color enhancement. We analyze the color with the view of the amplitude and enhance color with the concept of the dynamic range. In this way, we would secure not to use the wrong color gamut. We realize the algorithm through the FPGA (Field Programmable Gate Array, ALTERA Cyclone ® II EP2C70), and add the algorithm into the present low vision aid.
Result:
Our algorithm can enhance color in the exact color gamut, and we successfully add the algorithm into the present low vision aid. When the system clock runs at 27 MHz, an image is in size of 640x480 and resolution of 24-bit, the output of enhanced images can reach 64 frames per second.
Conclusion:
We develop the new algorithm of color enhancement and substitute the traditional methods, so the new method can offer low vision patients to watch much brighter-coloured images and let them more intuitively understand what they see.
Keyword:Low Vision Aid, Color Enhance, Field Programmable Gate Array (FPGA)