| CPC H04N 19/119 (2014.11) [G06V 30/18095 (2022.01); G06V 30/413 (2022.01); H04N 19/129 (2014.11); H04N 19/136 (2014.11); H04N 19/167 (2014.11); H04N 19/174 (2014.11); H04N 19/176 (2014.11); H04N 19/182 (2014.11); H04N 19/70 (2014.11); H04N 19/85 (2014.11)] | 14 Claims |

|
1. A method for information compression, comprising:
clustering text blocks with a size of a coding unit to be processed into respective text areas according to a value of top2 pixels of the text blocks to be processed;
splitting each of the text areas into at least one separate text row to acquire text row distribution information in each of the text areas according to foreground pixels distribution in each of the text areas;
vertically scanning each text row in each of the text areas with respect to a direction of the text row according to the acquired text row distribution information to acquire original coded information of each text row; and
performing lossless compression on the text row distribution information of a plurality of the text areas and the original pixel information of each text row of the plurality of the text areas;
wherein, the text row consists of a plurality of pixel rows; and
wherein, the top2 pixels are two types of pixels with a first and second largest proportion of pixels in a single text block.
|