- 1、本文档共50页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
* * Median-cut algorithm A simple alternate solution that does a better job for this color reduction problem. (a) The idea is to sort the R byte values and find their median; then values smaller than the median are labelled with a “0” bit and values larger than the median are labelled with a “1” bit. (b) This type of scheme will indeed concentrate bits where they most need to differentiate between high populations of close colors. * * Median-cut algorithm (c) One can most easily visualize finding the median by using a histogram showing counts at position 0..255. * * Fig. 3.11 Histogram of R bytes for the 24-bit color image “forestfire.bmp” results in a 0 bit or 1 bit label for every pixel. * * 3.2 Popular File Formats 3.2.1 8-bit GIF : one of the most important format because of its historical connection to the WWW and HTML markup language as the first image type recognized by net browsers. 3.2.2 JPEG: currently the most important common file format. * * 3.2.1 GIF GIF standard: 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. * * GIF87——Fig. 3.12: GIF file format. * * Screen Descriptor * * Chapter 3Graphics and Image Data Representations 3.1 Graphics/Image Data Types 3.2 Popular File Formats * * 3.1 Graphics/Image Data Types 3.1.1 1-bit Images 3.1.2 8-bit Gray-level Images 3.1.3 Image Data Types 3.1.4 24-bit Color Images 3.1.5 8-bit Color Images 3.1.6 Color Look-up Tables (LUTs) * * 3.1 Graphics/Image Data Types * * 3.1.1 1-bit Images Each pixel is stored as a single bit (0 or 1), so also referred to as binary image. Such an image is also called a 1-bit monochrome image since it contains no color. Fig. 3.1 shows a 1-bit monochrome image (called “Lena” by multimedia scientists—— this is a standard image used to illust
您可能关注的文档
最近下载
- 【社会层面】社会主义核心价值观.ppt VIP
- 回话有招高情商回话术书本.doc VIP
- 【社会层面】社会主义核心价值观精品课件.ppt VIP
- 沪教8AUnit6Ancientstories more practice-The story of 100,000 arrows 公开课优质课教案教学设计.doc
- 小学《科学》新教材培训研讨会:技术与工程领域总体介绍.pptx
- 2024年中考英语复习 并列复合句 讲义学案(解析版).pdf VIP
- 血常规结果解释ppt课件.pptx VIP
- 第16课 课件 2022-2023学年高中新经典日本语基础教程第二册.pptx VIP
- 软件工程专业生涯发展展示.pptx
- 成人脑室外引流护理——中华护理学会团体标准解读.pptx
文档评论(0)