作者joeboy229 (高桥)
看板TransCSI
标题[问题] 97台联计概第9题
时间Mon Jun 1 22:02:28 2009
有关於游程编码(run-length)还不是很了解
只知道是用在压缩资料
Assume an image is represented by mostly 0s and some 1s.
Use the run-length encoding algorithm to compress the
string"000001000110000001000".By using a 4-bit binary
number for counting,the output should be:
(1) 0101 1011 1000 1110 1011
(2)0101 0011 0000 0110 0011
(3)0101 1010
(4)0001 0001 1101 0000
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 218.167.7.33
1F:推 future1234:瞄一下是(2)吧@@ 06/01 22:22