




已阅读5页,还剩8页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
Digital Image Processing Project chapter Chapter 6 Project number Proj06 01 Proj06 04 Student s name Student s number Class 1 Contents WEB SAFE COLORS 2 PSEUDO COLOR IMAGE PROCESSING 2 COLOR IMAGE ENHANCEMENT BY HISTOGRAM PROCESSING 5 COLOR IMAGE SEGMENTATION 7 2 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 1 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 2 Discussion of results originalweb safe colors jpg web safe colors jpeg Figure 2 results of project 06 01 3 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 whose pixels have a specified color corresponding to one range of gray levels in the input image and the remaining pixels in the RGB image have the same shade of gray as they had in the input image b Download the image in Fig 6 22 a and process it with your program so that the river appears yellow and the rest of the pixels are the same shades of gray as in the input image Figure 3 Fig6 22 a jpg 4 Technical discussion 1 RGB components rgb R I 1 rgb G I 2 rgb B I 3 Program listings I imread Fig6 22 a jpg subplot 121 imshow I title original I double I m n size I L 256 for i 1 m for j 1 n if I i j L 4 R i j 0 G i j 4 I i j B i j L else if I i j L 2 R i j 0 G i j L B i j 4 I i j 2 L else if I i j r1 u 1 25 r1 d r2 ind 1 subplot 222 imshow r2 title segmentation subplot 234 imshow r 10 title R component subplot 235 imshow g title G component subplot 23
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年智能家居系统配备下的二手房交易物业服务合同范本
- 2025年度油气田采矿权出让合同范本
- 2025年度爆破拆除工程安全生产责任及事故赔偿合同
- 2025年免疫治疗对自身免疫性多发性硬化症治疗的应用进展报告
- 2025房产代持及不动产交易保障服务合同
- 2025版聘用外籍IT专家合同范本
- 2025年度绿色建筑推广房屋代销合作协议
- 2025年拆墙工程智能化管理系统租赁合同
- 2025年度国有企业财务共享服务中心升级改造合同
- 2025年度企业高级管理人员综合素质提升协议
- 2024临床输血指南
- 露天煤矿无人驾驶技术应用发展报告
- 香港标准租约合同模板
- 国能灵璧浍沟70MW风电项目 XGC15000TM-1000t履带吊-1000及SCC8000A-800t履带吊安拆方案
- 生物-湖湘名校教育联合体2024年下学期高二10月大联考试题和答案
- 2024年秋季新北师大版7年级上册数学教学课件 2.1.2 相反数、绝对值
- 墨菲定律课件教学课件
- 天津市语文高考试卷及答案指导(2025年)
- 高一政治开学第一课课件-高中政治统编版必修一
- DZ∕T 0448-2023 滑坡崩塌泥石流灾害精细调查规范(正式版)
- 鲁教版(五四学制)中考英语6-9年级词汇表
评论
0/150
提交评论