图像压缩packbit原理,知道的来说说

zxx_0405 2009-03-03 05:13:12
RT,在网上怎么也没查到,知道的说一下吧
对图像数据做了怎样的处理?
谢谢了!!!
...全文
226 10 打赏 收藏 转发到动态 举报
写回复
用AI写文章
10 条回复
切换为时间正序
请发表友善的回复…
发表回复
实达诚实 2009-03-14
  • 打赏
  • 举报
回复
[Quote=引用 4 楼 fire_woods 的回复:]
没研究过,不敢瞎说啊.
外事不决问Google.
[/Quote]

同意
zxx_0405 2009-03-10
  • 打赏
  • 举报
回复
哦,看来google和百度还是有区别的

百度啥也没搜到

其实有时候我看到英文就闪过去了,这样不好
fire_woods 2009-03-10
  • 打赏
  • 举报
回复
google: packbit encode
fire_woods 2009-03-10
  • 打赏
  • 举报
回复
这样是不好,还有我从来不用百度.
zxx_0405 2009-03-09
  • 打赏
  • 举报
回复
[Quote=引用 2 楼 fire_woods 的回复:]
那我来接分吧.
[/Quote]

呵呵
说几句吧?
zxx_0405 2009-03-09
  • 打赏
  • 举报
回复
[Quote=引用 5 楼 fire_woods 的回复:]
Loop until you get the number of unpacked bytes you are
expecting:
Read the next source byte into n.
If n is between 0 and 127 inclusive, copy the next n+1 bytes
literally.
Else if n is between -127 and -1 inclusive, copy the next
byte -n+1 times.
Else if n is 128, noop.
Endloop
从解码的算法来看,编码应该是把所有一样的内容放在一起,最多127个,用负数来…
[/Quote]

你是在哪里查到的呢?我总是搜不到
检索没学好
fire_woods 2009-03-09
  • 打赏
  • 举报
回复
Loop until you get the number of unpacked bytes you are
expecting:
Read the next source byte into n.
If n is between 0 and 127 inclusive, copy the next n+1 bytes
literally.
Else if n is between -127 and -1 inclusive, copy the next
byte -n+1 times.
Else if n is 128, noop.
Endloop
从解码的算法来看,编码应该是把所有一样的内容放在一起,最多127个,用负数来记录,
不一样的内容放在一起,最多127个,用正数记录.

是无损压缩
看起来对灰度图像压缩率并不会很高,对二值图像倒是不错.
fire_woods 2009-03-09
  • 打赏
  • 举报
回复
没研究过,不敢瞎说啊.
外事不决问Google.
fire_woods 2009-03-06
  • 打赏
  • 举报
回复
那我来接分吧.
zxx_0405 2009-03-05
  • 打赏
  • 举报
回复
哎,up下吧,咋没人接分呢

4,445

社区成员

发帖
与我相关
我的任务
社区描述
图形图像/机器视觉
社区管理员
  • 机器视觉
  • 迪菲赫尔曼
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧