Chapter 3 Graphics and Image Data Representations.ppt

  1. 1、本文档共48页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Chapter 3 Graphics and Image Data Representations

* GIF GIF standard: (We examine GIF standard because it is so simple! yet contains many common elements.) Limited to 8-bit (256) color images only, which, while producing acceptable color images, is best suited for images with few distinctive colors (e.g., graphics or drawing). GIF standard supports interlacing— successive display of pixels in widely-spaced rows by a 4-pass display process. GIF actually comes in two flavors: GIF87a: The original speci?cation. GIF89a: The later version. Supports simple animation via a Graphics Control Extension block in the data, provides simple control over delay time, a transparency index, etc. * GIF87 For the standard speci?cation, the general ?le format of a GIF87 ?le is as in Fig. 3.12. Fig. 3.12: GIF ?le format. GIF签名 屏幕描述符 全局色图 图像描述符 局部色图 GIF结束符 … … 光栅区域 重复1~n遍 * GIF87 Screen Descriptor comprises a set of attributes that belong to every image in the ?le. According to the GIF87 standard, it is de?ned as in Fig. 3.13. Fig. 3.13: GIF screen descriptor. * GIF87 Color Map is set up in a very simple fashion as in Fig. 3.14. However, the actual length of the table equals 2(pixel+1)as given in the Screen Descriptor. Fig. 3.14: GIF color map. . * GIF87 Each image in the ?le has its own Image Descriptor, de?ned as in Fig. 3.15. Fig. 3.15: GIF image descriptor. * GIF87 If the “interlace” bit is set in the local Image Descriptor, then the rows of the image are displayed in a four-pass sequence (Fig.3.16). Fig.3.16: GIF 4–pass interlace display row order. * GIF87 We can investigate how the ?le header works in practice by having a look at a particular GIF image. Fig. 3.7 on page is an 8-bit color GIF image, in UNIX, issue the command: To decipher the remainder of the ?le header (after “GIF87a”), we use hexadecimal: * JPEG JPEG: The most important current standard for image compression. The human vision system has some speci?c limitations and JPEG takes advantage of these to achieve high rates of compression.

文档评论(0)

saa9099 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档