资 源 简 介
【文本与二值图像的游程】1. 文本游程压缩的原理 对重复字段采用3符号标识法:(1) 重复提示符,比如@,#等;(2) 游程长度参数或重复次数,若用一个字节表示,最大长度可为255个重复字;(3) 重复字符。以上三部分合称为重复因子。可见要获得压缩效益,重复字符应在3个以上。2. 图像游程压缩的原理 对于二值图像,原始数据为零一矩阵,压缩时逐行处理该矩阵:(1) 连续n个1,表示为+n;(2) 连续n个0,表示为-n。-text and binary image-- an outbound trip. Yu Cheng text compression principle on repeated field using three symbols logo Act : (a) repeat prompt, such as @,#, etc.; (2) Run-length parameters, or the number of repeat, if using a byte, the largest the length of 255 to repeat the word; (3) repeat characters. More than three as part of a repeat factor. Visibility to gain compression efficiency, duplication of characters in three more. 2. Run-image compression for the principle of two binary images, a zero original data matrix, progressive compression deal with the matrix : (1) n a row, n; (2) consecutive n 0, expressed as-n.