Research on Gray Scale ProcessingAlgorithm of Binary Image
CHEN Hai-feng DING Li-li
Author information+
South China Institute of Software Engineering
Guangzhou City Construction College
Show less
文章历史+
出版日期
2019-07-10
发布日期
2019-07-13
Abstract
For the problem that thermal printer can’t print gray scale image in the market, this paper proposes a gray-scale processing algorithm based on binary image. By region segmentation, region gray-scale processing and region binary processing of the original RGB bitmap, this algorithm can make the binary image show a certain grayscale effect visually. This algorithm runs on STM32 platform, and is verified by TFTLCD display and tested by actual thermal printer. The result shows that the algorithm is correct and available.