硬汉嵌入式论坛

 找回密码
 立即注册
查看: 4073|回复: 1
收起左侧

[LibJPEG] 【LibJPEG专题系列二十一】高于8位精度的压缩

[复制链接]

740

主题

1326

回帖

3546

积分

管理员

春暖花开

Rank: 9Rank: 9Rank: 9

积分
3546
QQ
发表于 2015-5-16 17:29:12 | 显示全部楼层 |阅读模式
                                 Section 21—高于8位精度

    基线JPEG以每种颜色样本8位的形式来存储图像,换言之,RGB图像是每像素24位,灰度图像
8/像素,CMYK图像是32/像素,等等。需要更高精度的应用则存储12/样本的扩展。比
如,医学图像通常是12位灰度级别的。然而,12位的扩展并没有得到广泛的支持。支持它的则是
免费的IJG源代码(可见于part 2, item 15)。

    对于无损JPEG,其标准允许216/样本之间的任何数据精度,但相对于高精度的有损JPEG
精度的无损JPEG则更少的广泛支持。据报道,斯坦福PVRG编解码器(见part 2, item 15)支持
16/样本的无损JPEG
努力打造安富莱高质量微信公众号:点击扫描图片关注
回复

使用道具 举报

740

主题

1326

回帖

3546

积分

管理员

春暖花开

Rank: 9Rank: 9Rank: 9

积分
3546
QQ
 楼主| 发表于 2015-5-16 17:30:56 | 显示全部楼层
       Section - [21] What if I need more than 8-bit precision?


Baseline JPEG stores images with 8 bits per color sample, in other words 24 bits per pixel for RGB images, 8
bits/pixel for grayscale, 32 bits/pixel for CMYK, etc.  There is an extension that stores 12 bits/sample for
applications that need higher accuracy.  Medical images, for example, are often 12-bit grayscale.  The 12-
bit extension is not very widely supported, however.  One package that does support it is the free IJG source
code (see part 2, item 15).


For lossless JPEG, the standard permits any data precision between 2 and 16 bits per sample, but high-
precision lossless JPEG is even less widely supported than high-precision lossy JPEG.  The Stanford PVRG
codec (see part 2, item 15) reportedly supports up to 16 bits/sample for lossless JPEG.
努力打造安富莱高质量微信公众号:点击扫描图片关注
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋|Archiver|手机版|硬汉嵌入式论坛

GMT+8, 2024-5-12 00:36 , Processed in 0.173397 second(s), 25 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表