digital image processing projects 数字图像处理 冈萨雷斯 第六章所有程序和报告.doc

digital image processing projects 数字图像处理 冈萨雷斯 第六章所有程序和报告.doc

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

Digital Image Processing Project chapter: Chapter 6 Project number: Proj06-01 ~ Proj06-04 Students name: Students number: Class: Contents Web-Safe Colors 2 Pseudo-Color Image Processing 2 Color Image Enhancement by Histogram Processing 5 Color Image Segmentation 7 Web-Safe Colors Exp. 20,PROJECT 06-01 Objective To know what are Web-safe colors, how to generate the RGB components for a given jpeg color image, or convert an image to RGB manually? Requirements (a) Write a computer program that converts an arbitrary RGB color image to a web-safe RGB image (see Fig. 6.10 for a definition of web-safe colors). (b) Download the image in Fig. 6.8 and convert it to a web-safe RGB color image. Figure 6.8 is given in jpg format, so convert your result back to jpg (see comments at the beginning of this project). Figure 1 Fig6.08.jpg Technical discussion 【1】B = fix(A) rounds the elements of A toward zero, resulting in an array of integers.For complex A, the imaginary and real parts are rounded independently. 【2】imwrite(A,filename,fmt) writes the image A to the file specified by filename in the format specified by fmt. Program listings I=imread(Fig6.08.jpg); subplot(131); imshow(I); title(original); I1=fix((I/51)*51); subplot(132); imshow(I1); title(web-safe colors(jpg)); imwrite(I1,web-safe colors.jpeg,jpeg); subplot(133); I=imread(web-safe colors.jpeg); imshow(I); title(web-safe colors(jpeg)); Discussion of results Figure 2 results of project 06-01 Pseudo-Color Image Processing Exp. 21,PROJECT 06-02 Objective To know when the highpass filtering Hhp(u,v) can be obtained by using the relation 1-Hlp(u,v). Requirements (a) Implement Fig. 6.23, with the characteristic that you can specify two ranges of gray-level values for the input image and your program will output an RGB image whos

文档评论(0)

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

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

1亿VIP精品文档

相关文档