- 1、本文档共48页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 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.
您可能关注的文档
最近下载
- 小学、初中、高中、大学英语词汇合集.pdf
- 《宿曜经》汉译版本之汉化痕迹考证.pdf
- 《珍爱生命-远离毒品》PPT【精品课件】.pptx
- 标准图集-16G519-多高层民用钢节点详图.pdf VIP
- FG5-X绝对重力仪-劳雷LAUREL.PDF
- 湖北省武汉市2023-2024学年高二上学期期中考试英语试卷(含答案).docx VIP
- 第7课 难忘的岁月(课件)(共26张ppt)赣美版初中美术八年级上册.pptx VIP
- 第一节-金属的化学性质公开课一等奖优质课大赛微课获奖课件.pptx
- 儿童绘本故事《龟兔赛跑》PPT课件(可编辑带动画).ppt
- 新北师大版五年级上册数学第四单元《多边形的面积》知识点总结(全).docx VIP
文档评论(0)