24小时热门版块排行榜    

CyRhmU.jpeg
查看: 6248  |  回复: 5

wenqing0220

铜虫 (小有名气)

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

请教各位高手,
在看文献的时候注意到图像压缩的时候有一个单位是bpp,bit per pixel。但在图像JPEG,和JPEG2000中应该怎么实现bpp的计算??
希望高手指点~~
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

悠悠自欢,何必觅知己;剑胆琴心,清风慕竹……
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

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的回帖

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的回帖

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的回帖

abing611

新虫 (初入文坛)

同问,请问楼主后来有答案了没?
6楼2015-12-24 23:14:01
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 wenqing0220 的主题更新
信息提示
请填处理意见