24小时热门版块排行榜    

查看: 6350  |  回复: 5
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

wenqing0220

铜虫 (小有名气)

[求助] matlab实现图像压缩是的压缩率怎么求

请教各位高手,
在看文献的时候注意到图像压缩的时候有一个单位是bpp,bit per pixel。但在图像JPEG,和JPEG2000中应该怎么实现bpp的计算??
希望高手指点~~
回复此楼
悠悠自欢,何必觅知己;剑胆琴心,清风慕竹……
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

wenqing0220

铜虫 (小有名气)

引用回帖:
2楼: Originally posted by csgt0 at 2012-05-09 15:06:40:
Examples

info = imfinfo('ngc6543a.jpg')

info =

           Filename:
        FileModDate: '01-Oct-1996 17:19:44'
           FileSize: 27387
             Format: 'jpg'
      FormatVers ...

没看懂,只是给出了图像的信息吧,我想知道的是图像的压缩比率。bit per pixel,用数学上表达式怎么计算?
悠悠自欢,何必觅知己;剑胆琴心,清风慕竹……
3楼2012-05-10 18:15:40
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 6 个回答

csgt0

荣誉版主 (著名写手)

彩色挂图

【答案】应助回帖

Examples

info = imfinfo('ngc6543a.jpg')

info =

           Filename: [1x95 char]
        FileModDate: '01-Oct-1996 17:19:44'
           FileSize: 27387
             Format: 'jpg'
      FormatVersion: ''
              Width: 600
             Height: 650
           BitDepth: 24
          ColorType: 'truecolor'
    FormatSignature: ''
    NumberOfSamples: 3
       CodingMethod: 'Huffman'
      CodingProcess: 'Sequential'
            Comment: {[1x69 char]}
showmethemoney
2楼2012-05-09 15:06:40
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

csgt0

荣誉版主 (著名写手)

彩色挂图

引用回帖:
3楼: Originally posted by wenqing0220 at 2012-05-10 18:15:40:
没看懂,只是给出了图像的信息吧,我想知道的是图像的压缩比率。bit per pixel,用数学上表达式怎么计算?

bit per pixel不就是像素位数么,就是位深BitDepth啊
showmethemoney
4楼2012-05-11 09:34:27
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

csgt0

荣誉版主 (著名写手)

彩色挂图

【答案】应助回帖

★ ★ ★ ★ ★
wenqing0220: 金币+5, ★★★很有帮助 2012-05-14 15:56:52
In computer graphics, color depth or bit depth is the number of bits used to indicate the color of a single pixel in a bitmapped image or video frame buffer. This concept is also known as bits per pixel (bpp), particularly when specified along with the number of bits used. Higher color depth gives a broader range of distinct colors.
showmethemoney
5楼2012-05-11 09:36:26
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 323求调剂 +5 洼小桶 2026-03-18 5/250 2026-03-22 17:38 by luoyongfeng
[考研] 一志愿中南化学(0703)总分337求调剂 +9 niko- 2026-03-19 10/500 2026-03-22 16:08 by ColorlessPI
[考研] 324求调剂 +6 lucky呀呀呀鸭 2026-03-20 6/300 2026-03-22 16:01 by ColorlessPI
[考研] 298求调剂一志愿211 +3 上岸6666@ 2026-03-20 3/150 2026-03-22 15:50 by ColorlessPI
[考研] 一志愿北京化工大学070300 学硕336求调剂 +5 vv迷 2026-03-21 8/400 2026-03-22 14:20 by ColorlessPI
[考研] 一志愿深大,0703化学,总分302,求调剂 +4 七月-七七 2026-03-21 4/200 2026-03-21 18:20 by 学员8dgXkO
[考研] 297求调剂 +11 戏精丹丹丹 2026-03-17 12/600 2026-03-21 17:47 by ColorlessPI
[考研] 299求调剂 +5 shxchem 2026-03-20 7/350 2026-03-21 17:09 by ColorlessPI
[考研] 266求调剂 +3 哇呼哼呼哼 2026-03-20 3/150 2026-03-21 16:46 by barlinike
[考研] 070300化学319求调剂 +7 锦鲤0909 2026-03-17 7/350 2026-03-21 03:46 by JourneyLucky
[考研] 化学求调剂 +4 临泽境llllll 2026-03-17 5/250 2026-03-21 02:23 by JourneyLucky
[考研] 265求调剂 +9 梁梁校校 2026-03-17 9/450 2026-03-21 02:17 by JourneyLucky
[考研] 求调剂 +3 Ma_xt 2026-03-17 3/150 2026-03-21 02:05 by JourneyLucky
[考研] 274求调剂 +10 S.H1 2026-03-18 10/500 2026-03-20 23:51 by JourneyLucky
[考研] 295求调剂 +4 一志愿京区211 2026-03-18 6/300 2026-03-20 23:41 by JourneyLucky
[考研] 304求调剂 +7 司空. 2026-03-18 7/350 2026-03-20 23:08 by JourneyLucky
[考研] 085410人工智能专硕317求调剂(0854都可以) +4 xbxudjdn 2026-03-18 4/200 2026-03-20 09:07 by 不168
[考研] 本科郑州大学物理学院,一志愿华科070200学硕,346求调剂 +4 我不是一根葱 2026-03-18 4/200 2026-03-19 09:11 by 浮云166
[考博] 26博士申请 +3 1042136743 2026-03-17 3/150 2026-03-17 23:30 by 轻松不少随
[考研] 333求调剂 +3 文思客 2026-03-16 7/350 2026-03-16 18:21 by 文思客
信息提示
请填处理意见