题目

在图像编码的算法中,需要将一个给定的方形矩阵进行Z字形扫描(ZigzagScan),以获得更好的压缩比。给定一个n×n的矩阵,Z字形扫描的过程如下图所示: 经过扫描后得到的数据结果为: 57450230000 00000000 0-30100000 -160000000 00000000 00000000 00000000 00000000 “57,45,0,0,0,0,23,0,-30,-16,0,0,1,0,0,0,0,…,0,0”,数据元素个数为64个。进一步经过压缩后,最终得到行程编码:“57, 1, 45, 1, 0, 4, 23, 1, 0, 1,-30, 1,-16, 1, 0, 2, 1, 1, 0, 51”,数据元素个数为20个。 (1) 行程编码压缩最 一Is there_________ in today’s menu? 一Yes.We have Beijing Duck. A.anything special                       B.special anything C.nothing special                         D.special nothing
信息技术 试题推荐