ImageVerifierCode 换一换
格式:DOCX , 页数:29 ,大小:31.10MB ,
资源ID:154623      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/154623.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(北邮国院视频图像处理.docx)为本站会员(b****9)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

北邮国院视频图像处理.docx

1、EBU723U Image and Video Processing 2014/15Coursework report and exercisesName:_Yu Ma_Username:_jp10212769_Exercise 1 (a)Reading/writing PGM/PPM images: The first step towards image and video processing is reading images from file and write them to file. There exist different standards that store the

2、 information in different formats; before opening an image, knowledge of the standard is necessary. Two widely used image formats are PPM and PGM. The PGM format is a greyscale file format designed to be easy to manipulate. A PGM image represents a greyscale graphic image. For most purposes, a PGM i

3、mage can just be thought of an array of integers. The name PGM is the acronym of Portable Grey Map. The name PPM is the acronym for Portable Pixel Map. Images in this format (or a precursor of it) were once also called portable pixmaps. It is a highly redundant format, and contains a lot of informat

4、ion that the Human Visual System (HVS) cannot even discern. However, as PGM, PPM is very easy to write and analyze. The goal of the first part of todays lab is to let students become comfortable with these two formats. You will implement functions to read and to write PPM and PGM images. The final d

5、emonstration of the implemented software will be done using well-known test images: LENA, BABOON, PEPPERS, etc. You can find PPM and PGM versions of these images in the EBU723U intranet pages. The writing function must add as comment in the header: “image created by your_name your_surname”. Include

6、in your submission the file resulting from reading the images provided and writing them back in their original format.Summarize in 5 points the operations necessary to read a PGM/PPM image:1. Open the image in read mode.2. Ignore comments in the file3. Distinguish the image is a PGM or PPM.4. Read i

7、nformation of the image.5. Read matrix.Summarize in 5 points the operations necessary to write a PGM/PPM image:1. Open the image in write mode.2. Write comments in the file.3. Decide writting a PGM or PPM image.4. Write information of the image.5. Write matrix.What is the difference between the iden

8、tifier P3 and P6?For identifier P3,the image is stored as ASCII and each line is less than 70 characters.For identifier P6,the image is stored as binary.P6 format is smaller than P3 format and read P6 format file is faster than P3 format file.Exercise 1 (b)Format conversions: in this part of the lab

9、, the images will be converted from colour to grey scale; in other words a PPM image will be converted to the PGM format. You will implement a function called “BUPT_format_converter” which transforms images from color to grey-scale using the following YUV conversion:Y = 0.257R + 0.504G + 0.098B + 16

10、U = 0.439R + 0.368G 0.071B + 128V = -0.148R 0.291G + 0.439B + 128What component represents the luminance, i.e. the grey-levels, of an image? Y represents the luminance.Use thee boxes to display the results for the colour to grey-scale conversion. Lena colour (RGB)Lena greyBaboon greyBaboon colour (R

11、GB)Is the transformation between the two colour-spaces linear? Motivate your answerThe transformation between the two colour-spaces is linear.Transform each layer,then combine each outcome.Or Transform layers together.These two outcomes are same.f(ax+by) = af(x)+bf(y)Display in the box the Lena imag

12、e converted to YUV 3 channels format. Are the colors of the previous picture distorted? If yes why?They are different.Because RGB used for PC and YUV used for TV.If we show YUV image on PC,it will be distorted.Based on the formula for the RGB to YUV conversion, derive the formula for the YUV to RGB

13、conversion?R=1.164*(Y-16)+1.596*(V-128)G=1.164*(Y-16)-0.813*(V-128)-0.391*(U-128)B=1.164*(Y-16)+2.018*(U-128)Use the formula you derived at the previous step to convert the YUV image back to the original RGB format. Display the result in the box.Exercise 1 (c)Sub-sampling: The HVS is incapable of pe

14、rceiving certain details in an image. Therefore high compression ratios can be achieved by exploiting the characteristics of the HVS, thus discarding what has a low visual relevance. However, this process can introduce distortions in the compressed data. A simple way to exploit the characteristics o

15、f the HVS compression purposes is to sub-sample an image. A drawback of this approach is that it is possible to incur in well-know problems of a discrete representation, such as aliasing. This part of the lab covers some simple sub-sampling operations.Implement a function that sub-samples grey level images by a factor n, with n a multiple of 2. The function should be able to sub-sample independently in the horizontal and in the vertical direction or in both directions at the same time. Display the results of su

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1