Re: [問題] 以bit為單位的無失真compressor...
看板CSSE (電腦科學及軟體工程)作者Syncanph (go lifer)時間18年前 (2006/05/11 15:20)推噓4(4推 0噓 40→)留言44則, 4人參與討論串6/20 (看更多)
恕刪
原資料 0 跟 1 的比例為 75% : 25% 的情況下
可以算一下他的 entropy 是
-(0.75 * log2(0.75) + 0.25 * log2(0.25)) = 0.811 左右
這表示使用 general-purpose 的 entropy coder (如 arithmetic 或 Huffman coder)
的壓縮極限就在 0.811 = 81.1% 左右
一般資料壓縮的壓縮率要能提升, 通常是因為資料本身有某些規則性,
例如 image (相鄰的 pixel 顏色相近) 或統計性的資料,
但原 PO 有強調他的資料是亂數分佈, 因此要再提升壓縮率是相當困難的
也許用 RLE 之類的非 entropy coding 方法有可能再進一步
但那是有點運氣問題的
至於無失真影像壓縮的部分
我推薦原 PO 看一下 JPEG-LS
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 59.124.166.94
推
05/11 18:53, , 1F
05/11 18:53, 1F
→
05/11 23:23, , 2F
05/11 23:23, 2F
→
05/11 23:31, , 3F
05/11 23:31, 3F
→
05/11 23:32, , 4F
05/11 23:32, 4F
推
05/12 02:08, , 5F
05/12 02:08, 5F
→
05/12 02:12, , 6F
05/12 02:12, 6F
→
05/12 02:29, , 7F
05/12 02:29, 7F
→
05/12 02:39, , 8F
05/12 02:39, 8F
→
05/12 02:40, , 9F
05/12 02:40, 9F
→
05/12 02:46, , 10F
05/12 02:46, 10F
→
05/12 10:49, , 11F
05/12 10:49, 11F
→
05/12 10:50, , 12F
05/12 10:50, 12F
→
05/12 10:50, , 13F
05/12 10:50, 13F
→
05/12 10:54, , 14F
05/12 10:54, 14F
→
05/12 10:54, , 15F
05/12 10:54, 15F
→
05/12 17:56, , 16F
05/12 17:56, 16F
→
05/12 17:57, , 17F
05/12 17:57, 17F
→
05/12 18:02, , 18F
05/12 18:02, 18F
→
05/12 18:05, , 19F
05/12 18:05, 19F
→
05/12 18:06, , 20F
05/12 18:06, 20F
→
05/12 18:07, , 21F
05/12 18:07, 21F
→
05/12 18:08, , 22F
05/12 18:08, 22F
→
05/12 18:10, , 23F
05/12 18:10, 23F
→
05/12 18:18, , 24F
05/12 18:18, 24F
→
05/12 18:18, , 25F
05/12 18:18, 25F
→
05/12 18:23, , 26F
05/12 18:23, 26F
→
05/12 18:26, , 27F
05/12 18:26, 27F
→
05/12 19:17, , 28F
05/12 19:17, 28F
→
05/12 19:19, , 29F
05/12 19:19, 29F
→
05/12 19:19, , 30F
05/12 19:19, 30F
→
05/12 19:20, , 31F
05/12 19:20, 31F
→
05/12 21:48, , 32F
05/12 21:48, 32F
→
05/12 21:51, , 33F
05/12 21:51, 33F
→
05/12 21:56, , 34F
05/12 21:56, 34F
→
05/12 21:59, , 35F
05/12 21:59, 35F
→
05/12 22:00, , 36F
05/12 22:00, 36F
→
05/12 22:03, , 37F
05/12 22:03, 37F
→
05/12 22:09, , 38F
05/12 22:09, 38F
推
05/12 22:21, , 39F
05/12 22:21, 39F
→
05/12 22:22, , 40F
05/12 22:22, 40F
→
05/12 22:24, , 41F
05/12 22:24, 41F
→
05/12 23:03, , 42F
05/12 23:03, 42F
推
05/14 15:01, , 43F
05/14 15:01, 43F
→
05/14 15:03, , 44F
05/14 15:03, 44F
討論串 (同標題文章)
以下文章回應了本文 (最舊先):
完整討論串 (本文為第 6 之 20 篇):
CSSE 近期熱門文章
PTT數位生活區 即時熱門文章