数字图像处理与机器视觉 2015-2016期末试卷参考答案

合集下载

《数字图像处理》习题参考答案

《数字图像处理》习题参考答案

1《数字图像处理》 习题参考答案第1章概述1.1连续图像和数字图像如何相互转换?答:数字图像将图像看成是许多大小相同、形状一致的像素组成。

这样,数字图像可以用二维矩阵表示。

将自然界的图像通过光学系统成像并由电子器件或系统转化为模拟图像 (连续图像)信号,再由模拟 /数字转化器(ADC )得到原始的数字图像信号。

图像的数字化包括离散和量化两个主要步骤。

在空间将连续坐标过程称为离散化,而进一步将图像的幅度值(可能是灰度或色彩)整数化的过程称为量化。

1.2采用数字图像处理有何优点?答:数字图像处理与光学等模拟方式相比具有以下鲜明的特点:1 •具有数字信号处理技术共有的特点。

(1)处理精度高。

(2)重现性能好。

(3)灵活性高。

2•数字图像处理后的图像是供人观察和评价的,也可能作为机器视觉的预处理结果。

3•数字图像处理技术适用面宽。

4 •数字图像处理技术综合性强。

1.3数字图像处理主要包括哪些研究内容?答:图像处理的任务是将客观世界的景象进行获取并转化为数字图像、进行增强、变换、编码、恢复、重建、编码和压缩、分割等处理,它将一幅图像转化为另一幅具有新的意义的 图像。

1.4讨论数字图像处理系统的组成。

列举你熟悉的图像处理系统并分析它们的组成和功能。

答:如图1.8,数字图像处理系统是应用计算机或专用数字设备对图像信息进行处理的 信息系统。

图像处理系统包括图像处理硬件和图像处理软件。

图像处理硬件主要由图像输入设备、图像运算处理设备(微计算机) 、图像存储器、图像输出设备等组成。

软件系统包括操作系统、控制软件及应用软件等。

1.5 常见的数字图像处理开发工具有哪些?各有什么特点?答.目前图像处理系统开发的主流工具为 Visual C++ (面向对象可视化集成工具)和 MATLAB 的图像t+W<住《l 塁希碎«IUIMEH 鼻爭■图1.8数字图像处理系统结构图处理工具箱(Image Processing Tool box )。

(完整word版)数字图像处理期末考试试题 (2)

(完整word版)数字图像处理期末考试试题 (2)
2
1
2
3
2
1
2
4
2
3
1
2
3
1
2
0
1
解:1)统计图象1各灰度级出现的频率结果为
p(0)=5/64»0.078;p(1)=12/64»0.188;p(2)=16/64=0.25;p(3)=9/64»0.141
p(4)=1/64»0.016; P(5)=7/64»0.109;p(6)=10/64»0.156;p(7)=4/64»0.063
对上式作逆傅立叶变换得逆滤波恢复图象f(x,y)
f(x,y)=IDFT[F(u,v)]
以上就是逆滤波恢复图象的原理。(2分)
若存在噪声,为避免H(u,v)=0,可采用两种方法处理。(0.5分)
2H(u,v)=0时,人为设置1/H(u,v)的值;
②使1/H(u,v)具有低同性质。即
H-1(u,v)=1/H(u,v)当D≤D0
a.灰度线性变换 b.二值化c.傅立叶变换d.中值滤波
(b )4.下列算法中属于点处理的是:
a.梯度锐化b.二值化c.傅立叶变换d.中值滤波
(d ) 5.一曲线的方向链码为12345,则曲线的长度为
a.5b.4c.5.83d.6.24
(c )6. 下列算法中属于图象平滑处理的是:
a.梯度锐化b.直方图均衡c. 中值滤波placian增强
(√) 4. 共点直线群的Hough变换是一条正弦曲线。
(√) 5. 边缘检测是将边缘像元标识出来的一种图像分割技术。
五、简答题(每小题5分,共20分)
1.简述线性位移不变系统逆滤波恢复图像原理。
答:设退化图象为g(x,g),其傅立叶变换为G(u,v),若已知逆滤波器为1/H(u,v)则对G(u,v)作逆滤波得F(u,v)=G(u,v)/H(u,v)(2分)

数字图像处理试题答卷及参考答案2015年

数字图像处理试题答卷及参考答案2015年

中南大学考试试卷2015-- 2016 学年 1 学期时间100分钟 2015年 11月 4 日数字图像处理课程 32 学时 2 学分考试形式:闭卷专业年级:电子信息2013级总分100分,占总评成绩 70%2.___5.8.9.10.a.梯度算子b.Prewitt算子c.Roberts算子d. Laplacian算子4.采用模板[-1 1]主要检测____方向的边缘。

( c )a.水平b.450c.垂直d.13505.一幅256*256的图像,若灰度级为16,则存储它所需的总比特数是:( a )a. 256Kbb.512Kbc.1Mbd. 2M6.维纳滤波器通常用于: ( c )a. 去噪b.减小图像动态范围c.复原图像d.平滑图像7.采用幂次变换进行灰度变换时,当幂次取大于1时,该变换是针对如下哪一类图像进行增强。

( b)a. 图像整体偏暗b. 图像整体偏亮c. 图像细节淹没在暗背景中d.图像同时存在过亮和过暗背景8.对于任意两点p(x,y) 和q(s,t)之间的D8距离,以下说法错误的是:( a )a. D8 (p,q)=|x-s|+|y-t|b. D8(p,q)=max(|x-s|,|y-t|)c. D8=1的像素就是(x,y)的8-邻域像素d. D8距离别名棋盘距离。

9.傅立叶变换得到的频谱中,低频系数对应于:( c )10.’)。

2.’)2’)(2’)都属于图像增强,改善图像效果。

(2’)4.试画出图像退化模型框图,并写出退化模型的解析式f(x,y)表示理想的、没有退化的图像,g(x,y)是退化(所观察到)的图像,η(x,y)表+示加性噪声,H是退化函数,则:g(x,y)= H[f(x,y)]+ η(x,y) (2’)5.画出变换编码的流程框图,说明其中正交变换的作用正交变换的作用是将图像的能量尽量集中在少数系数上,从而最大限度地去除原始图像中数据间的相关。

(2')(考察图像压缩)四、利用3x3窗口对下图进行均值滤波与中值滤波(均值滤波请4舍5入取整数),并说明两种滤波方法的不同适合情况。

数字图像处理试卷参考答案

数字图像处理试卷参考答案

二、名词解释(每题2分,共10分)1、灰度直方图直方图是灰度级的函数,它表示图像中具体每种灰度级的像素个数,反映图像中每种灰度出现的概率。

2、图像增强对图像的某些特征,如边缘、轮廓、对比度等进行强调或尖锐化,以便观察或进一步分析处理。

3、中值滤波对于一个滑动窗口内N⨯M个像素按灰度级排序,用处于中间位置的像素的灰度级来代替窗口中心像素原来的灰度级。

4、图像边缘边缘是指图像中灰度发生急剧变化的区域。

5、阈值阈值是在分割时作为区分物体和背景像素的门限,大于或等于阈值的像素属于物体,而其他属于背景。

二、简答题(共70分)1、请简述两种常见的图像平滑方法及其特点。

(10)均值滤波:对于一个滑动窗口内N⨯M个像素按灰度级求平均值,用处于中间位置的像素的灰度级来代替窗口中心像素原来的灰度级。

特点:系数之和为1,系数都是正数,容易造成图像模糊。

对于一个滑动窗口内N⨯M个像素按灰度级排序,用处于中间位置的像素的灰度级来代替窗口中心像素原来的灰度级。

特点:计算复杂度高,滤波前后图像亮度发生改变,不容易产生模糊,具有良好的抗噪性能。

2、若使用下列模板分别对一幅灰度图像进行卷积,会达到什么样的效果?(10)(1) 均值滤波,图像变模糊 (2) 边缘检测 (3) 无意义 (4) 边缘锐化3、对下面的图像进行8链码(0-7)的轮廓跟踪,写出跟踪得到的链码序列,并计算链码:(1,1)76660000773332224444 周长:1426+⨯ 面积:13(2,2)1076654322面积:104、有一幅电视图像如下,在接收时图像有若干个亮点(灰度为255),设计两种滤波方法对该图像滤波,写出滤波后的图像。

(10)1 1 1 8 7 42 255 255 255 255 33 34 4 3 33 3 255 255 255 63 345 5 8均值滤波1 1 1 8 7 42 58 87 88 60 33 87 143 171 115 33 31 60 88 60 63 31 60 88 62 82 3 4 6 7 8中值滤波1 1 1 8 7 42 3 4 7 4 33 3 255 255 6 33 345 5 63 34 6 7 82 3 4 6 7 85、假定你有两张相隔八个月拍摄的一病人的胸部X光片。

图像处理期末考卷(答案)

图像处理期末考卷(答案)

一、简答题1、 列举出四种数字图像采集方法。

答: 单个传感器扫描,线阵CCD 扫描,面阵CCD 成像,核磁共振成像2、 什么是图像的空间分辨率和灰度级分辨率,其分辨率高低对图像有什么影响。

答:空间分辨率是图像中,可辨别的最小细节,其降低会导致图像颗粒化。

灰度分辨率是灰度级别中可分辨的最小变化,其降低会导致图像出现为轮廓。

3、 比较一下对数变换、幂次变换、分段线性变换的相同点和差异。

答: 相同点是他们都是对单个像素进行的变换,不同点是他们的灰度级变换函数不同。

4、 比较说明逆滤波和维纳滤波的处理图像的效果和特点。

答: 逆滤波没有清楚的说明怎样处理噪声,维纳滤波综合了退化函数和噪声统计特性两个方面进行复原处理。

其特点是逆滤波受噪声影响大,当N/H 之比很容易超过图像F 估计值。

如果噪声项为0,维纳滤波退化为逆滤波。

5、 一副256256⨯大小,256个灰度的图像,经过采样量化变为 256256⨯,16个灰度级的图像,这个过程是(采样,量化)过程 ? 在这个过程中图像的(幅度,空间)分辨率降低?图像质量发生怎样变化?答:这个过程是量化过程。

在这个过程中图像幅度分辨率降低,图像会出现伪轮廓。

6、波特率是度量数据传输速率的单位,当采用而二进制时,它等于每秒所传输的比特数,设每次先传输1个起始比特,再传输8个比特信息,最后传输1个终止比特,计算以4800波特传输1副1024*1024真彩色图像所用的时间。

解:1024*1024*10*3/4800=6553.6S7、同态滤波是基于什么样的成像模型的滤波技术,列出它的步骤?它一般用于什么样的情况,能起到什么样的作用?答:同态滤波是基于照度—反射模型的滤波技术。

步骤为:f(x,y)->ln->DFT->H(u,v)->(DFT)-1 -> Exp->g(x,y)。

它一般用于照射分量和反射分量不能分别进行操作的情况。

能起到取对数后的傅里叶变换的低频成分与照度相联系,。

数字图像处理试题和答案解析

数字图像处理试题和答案解析

《数字图像处理》试题及答案1、如图所示,A和B的图形完全一样,其背景与目标的灰度值分别标注于图中,请问哪一个目标人眼感觉更亮一些?为什么?(10分)答:B感觉更亮一些。

(5分,给出相对亮度概念即可给分)因为目标比背景暗,所以越大,感觉越暗,所以A更暗,即B更亮一些。

(5分)2、给出一维连续图像函数傅里叶变换的定义,并描述空间频率的概念。

(10分)答:1一维连续图像函数的傅立叶变换定义为:(5分)2空间频率是指单位长度内亮度作周期变化的次数。

(2分)对于傅立叶变换基函数,考虑的最大值直线在坐标轴上的截距为,则表示空间周期,即为空间频率。

(3分)3、已知的图像数据如图所示,请计算:(15分)a、的离散傅里叶变换;b、的哈德玛变换。

题3图答:1令,则,(5分)2(3分)则哈德玛变换为(3分)4、写出频域拉普拉斯算子的传递函数,并说明掩模矩阵对图像的卷积与拉普拉斯算子对图像运算结果之间的关系。

(15分)答:1F =F=F=F +F(6分)2相当于原图像与拉普拉斯算子运算之差(3分)。

因为拉式算子:(2分)所以:=-(4分)5、如图为一幅16级灰度的图像。

请写出均值滤波和中值滤波的3x3滤波器;说明这两种滤波器各自的特点;并写出两种滤波器对下图的滤波结果(只处理灰色区域,不处理边界)。

(15分)题5图答:均值滤波:(2分)中值滤波:(2分)均值滤波可以去除突然变化的点噪声,从而滤除一定的噪声,但其代价是图像有一定程度的模糊;中值滤波容易去除孤立的点、线噪声,同时保持图像的边缘。

(5分)均值滤波:(3分)中值滤波:(3分)6、写出图像退化/复原的总体模型;利用线性系统的相关知识,推导线性空不变条件下连续图像函数的退化模型。

(10分)答:(5分)线性系统中:其中为系统H的冲激响应。

又空不变系统,则(5分)7、如图,X是待处理图像,黑点代表目标,白点代表背景;B是结构元素,原点在中心。

试分别给出B对X做开运算和闭运算的结果(在图中涂黑目标点即可)。

2015-数字图像处理试题+答案

2015-数字图像处理试题+答案

西安电子科技大学考试时间 120 分钟试题答案及评分标准1.考试形式:闭卷□ 开卷□ ;2.本试卷共二大题,满分100分;3.考试日期: 年 月 日;(答题内容请写在装订线外)1分,共15分)图像的保真度准则主要有 客观 保真度准则和 主观 保真度准则。

下图1是一幅标准测试图像Lena 图,对图像进行处理后,形成的结果图像如图2所示。

这是如何处理得到的 边缘检测 ?图像编码是通过改变图像的描述方式,将数据中的 冗余 去除,由此达到压缩数据量的目的。

低通滤波法是使 高频 受到抑制而让 低频 顺利通过,从而实现图像平滑。

每种不同的压缩编码方法都有其不同的特点。

将若干种编码方法结合在一起,由此来达到更高的压缩率,这种编码方式称为 混合编码 。

形态学处理中最基本的运算是腐蚀与膨胀。

其中 膨胀 通常用以填补目标物中存在的某些空洞。

关于图像的矩描述子,下列说法正确的是 C 。

a) 仅具有平移不变性 b)仅具有平移和尺度变换不变性c) 具有平移、旋转和尺度变换不变性d) 不具备不变性。

8.列举数字图像处理的三个应用领域汽车牌照识别、医疗、航空航天等。

9.存储一幅大小为1024*1024,256个灰度级的图像,需要8M 字节。

10.直方图均衡化适用于增强直方图呈不均匀分布的图像。

11.以下分割方法中属于区域算法的是分裂合并、阈值分割。

a). 分裂合并b). 哈夫变换c). 边缘检测d). 阈值分割12.一幅二值图像的傅里叶变换频谱是 B 。

a). 一幅二值图像b). 一幅灰度图像c). 一幅复数图像d). 一幅彩色图像13.伪彩色处理和假彩色处理是两种不同的色彩增强处理方法,说出下面属于伪彩色增强的处理 C 。

a).将景象中的蓝天边为红色,绿草变为蓝色b).用自然色复制多光谱的景象c).将灰度图经频域高通/低通后的信号分别送入红/蓝颜色显示控制通道d).将红、绿、蓝彩色信号分别送入蓝、红、绿颜色显示控制通道二、计算题(共85分)1. (10分)图像几何校正中,若f(1,1)=1, f(1,2)=5, f(2,1)=3, f(2,2)=4,请分别按最近邻插值法和双线型插值法确定(1.2,1.6)处的灰度值。

【数字图像处理】期末复习资料及期末模拟试卷(含答案)doc(DOC)

【数字图像处理】期末复习资料及期末模拟试卷(含答案)doc(DOC)

Digital Image Processing Examination1. Fourier Transform problem.1) F or an image given by the function f(x,y)=(x+y)3 where x,y are continuous varibales; evaluatef(x,y)δ(x-1,y-2) and f(x,y)* δ(x-1,y-2),where δ is the Dorac Delta function.2) F or the optical imaging system shoen below,consisting of an image scaling and two forwardFourier transforms show that the output image is a scale and inverted replica of the original3) three binary images (with value 1 on black areas and value 0 elsewhere) are shown below. Sketch the continuous 2D FT of these images(don’t do this mathematically, try to use instead the convolution theorem and knowledge of FTs of common functions)2. The rate distortion function of a zero memory Gaussian source of arbitary mean and variance σ2 with respect to the mean-square error criterion is⎪⎩⎪⎨⎧≥≤≤=2220log 21)(σσσD D for D D Ra) Plot this functionb) What is D max c) If a distortion of no mor than 75% of the source’s variance is allowed, what is the maximumcompression that can be achieved?3. The PDF of an image is given by Pr(r) as shown below. Find the transform toconvert the image's PDF to Pr(z). Assume continuity, and find the transform in terms of r and z. Explain the transformation.4. A certain inspection application gathers black & white images of parts as they travel along a con-veyor belt. It is necessary to sort the parts into two categories: parts with holes and parts with-out holes. An example of an image that might be taken by the inspection camera is shown at the right. Propose a method to identify and locate the objects of each category in the image so that they can be picked up by a robotic system and placed in different bins. Assume that the imaging system knows where each image pixel is located on the conveyor belt at every point in time.Provide an annotated flow chart of the algorithm you propose.5.In a given application, an averaging mask is applied to input images to reduce noise and then aLaplacian mask is applied to enhance small details. Would mathematics predict that the result should be the same if the order of the operations were reversed? What practical issues would be encountered in computer implementation?Digital Image Processing Examination1. A preprocessing step in an application of microscopy is concerned with the issue ofisolating individual round particles from similar particles that overlap in groups of two or more.Assuming that all particles are of the same size, propose a morphological algorithm that will produce an image that contains only the isolated (non-overlapping) particles that are not in contact with the boundary of the image.2. An image represented by a continuous function f(x, y) is w = 2 cm wide and h = 3 cm high. The imageis to be converted to an array of pixels by a scanner whose response is zero above 80 lines/centimeter in both the horizontal and vertical directions. The discrete image is represented by an array ˆf(n, m) where n and m take on integer values, 0 ~ n ~ N - 1, 0~ m ~ M-1.(a)Determine suitable values for N and M.(b)Assume that ˆf(n, m) = f(na, mb). Determine the values of a and b.(c)Determine constants A, B, C, D, E such that the DFT of fˆ can be expressed as)(00) ,() , (EvmDuniBnCmemnfAvu F+-==∑∑=(d)Find numbers (P1, P2) such that F(u + jP1, v + kP2) = F(u, v) for any integers j, k, u, v.3. The arithmetic decoding process is the reverse of the encoding procedure. Decode the message 0.23355 given the coding model.4. The gradient of a function f (x) is defined as⎥⎥⎥⎥⎦⎤⎢⎢⎢⎢⎣⎡∂∂∂∂=⎥⎥⎥⎦⎤⎢⎢⎢⎣⎡=∇y f x f G G f y xComputationally, the first derivative is implemented by calculating the difference between adjacent pixels.(a) Is the following a linear operator?2122⎥⎥⎦⎤⎢⎢⎣⎡⎪⎪⎭⎫ ⎝⎛∂∂+⎪⎭⎫ ⎝⎛∂∂=∇y f x f f (b) State how would you implement the above operator using differences between pixels.(c) A Sobel operator uses two masks, Hx and Hy to process an image. Explain why are two masksneeded and what do they measure?(d)Write down the masks Hx and Hy, and identify them in the followingfigures:5. The three images shown were blurred using square averaging masks of sizes n=23, 25 , and 45, respectively. The vertical bars on the left lower part of (a) and (c) are blurred, but a clear separation exists between them. However, the bars have merged in image (b), in spite of the fact that the mask that produced this image is significantly smaller than the mask that produced image (c). explain this.Digital Image Processing Examination1. An image array f(m, n) of size M1 × N1 is to be convolved with a filter array h(m, n) of size M2 × N2 to produce a new image array g(m, n).1)Write a pseudo code program that describes a method to compute g(m, n) throughthe use of Fourier transforms. The result should be the same size as would beachieved with direct convolution.2)Modify the algorithm so that it does the correlation f ~ h rather than theconvolution.2. You have the job of designing an algorithm that will count the number of objects with holes and the number of objects without holes in images of the kind shown here. Assume that the images are binary with 0 corresponding to black and 1 correspondingto white. The imaging system is of low quality and produces images that are corrupted with salt and pepper noise.The objects do not overlap or touch, but may be close to each other in any direction.They may be of any shape or size. The algorithm should not be confused by the salt and pepper noise, and should not count noise pixels as objects.Write a pseudo-code description of your algorithm. You may also include a block diagram and other information to make it understandable to a programmer. State any assumptions you make, such as: “Objects must contain at least 50 pixels.”least 50 pixels.”3. Suppose that an image has the gray-level probability density functions shown. Here, p 1(z) corresponds to objects and p 2(z) corresponds to the background. Assume that p 1=p 2 and find the optimal threshold between object and back ground pixels.4. The Sobel operator computes the following quantity at each location (x, y) in an image array, A:Gx[j,k]=(A[j+1,k+1]+2A[j+1,k]+A[j+1,k-1])-(A[j-1,k+1]+2A[j-1,k]+A[j-1,k-1]) Gy[j,k]=(A[j-1,k-1]+2A[j,k-1]+A[j+1,k-1])-(A[j-1,k+1]+2A[j,k+1]+A[j+1,k+1]) G[j,k] = |Gx[j,k]| + |Gy[j,k]|The position of A[j, k] is column j and row k of the array.The operation is implemented as the convolution of the image array A with two masks, Mx and My followed by the magnitude operation.1) Write a 3 × 3 array for each mask, Mx and My.2) What mathematical operation on an image array is approximated by the Sobeloperator? Show how the Sobel operator is related to the mathematical operation.5. Answer the following questions about morphological image processing.(a) Shown below are two tables with expressions that relate to binary morphological image processing. Associate each expression in the left table with one from the right table.(b) A well-known morphological algorithm uses the following iteration with a structuring element B.(1) Initialize X[p] = 1 for some pixel A p ∈(2) A B X Y )(⊕=(3) If X Y ≠ then set X = Y and repeat (2)An original set A is shown in (A) and an initial pixel p 2 A is shown in (B). The result after one iteration of the algorithm with structuring element⎥⎥⎥⎦⎤⎢⎢⎢⎣⎡=010111010Bis shown in (C). Fill in the result of the next two iterations by marking theappropriate pixels for the set Y in (D) and (E). In frame (F) show the result for Y that would be reached after a large number of iterations.Digital Image Processing Examination1. Consider the edge model depicted below. Sketch the gradient and Laplacian of the signal. It is not needed to compute exact numerical values in your answer. Plot of approximate shapes of the responses will be sufficient.2. The white bars in the test pattern shown are 7pixels wide and 210 pixels high. The separation between bars is 17 pixels. What would this image look like after application of .1) A 3*3 arithmetic mean filter?2) A 7*7 median filter.3) A 9*9 contraharmonic mean filter with Q=13. The video coding system introduced in the class utilizes several major components –inter-frame motion estimation, motion compensated prediction, DCT, Huffman coding,and quantization.(a)When an encoded signal can be used to reconstruct the exact value of theoriginal signal, we say the encoding method is lossless; otherwise, it’s calledlossy. A lossy coding technique introduces distortion to the signal.Which component in the above video coding system is lossy?(b)The motion compensation process in the encoder generates a motion vectorand prediction errors for each image block in the video signal. Suppose duringthe transmission of the encoded video stream, one motion vector is lost (e.g.,due to the network erasure error). What will be the visual effects of suchtransmission errors on the decoded image sequence?4.Consider a black-and-white image consisting of round and rectangular objects, as shown in the image below. Assume the sizes of the objects are fixed and known. We also know that the width and length of the rectangles are larger than the diameter of the circles. None of the rectangles are tilted. In general, the objects may overlap with each other.Design a morphological operation based system to automatically detect all the instances of the rounds objects that overlap with rectangular objects.5. An image A, represented by an N × M array of bytes, has a uniform brightnesshistogram. It is desired transform A into an image B in a way that produces a triangular brightness histogram2550,36240][≤≤=k k MNk h bDescribe a process that will accomplish the transformation. If possible, derive an equation for the transformation function. At a minimum, sketch the transformation function and indicate how you would use it in a program to compute the array B.模拟试卷一1.对将一个像素宽度的8通路转换到4通路提出一种算法。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

数字图像处理与机器视觉 2015-2016期末试卷参考答案南昌大学研究生2015,2016年第2学期期末考试试卷
试卷编号: (开)卷课程名称: 数字图像处理与机器视觉适用班级: 2015级硕士研究生姓名: 学号: 专业: 学院: 机电工程学院考试日期: 题号一二三四五六七八九十总分累分人
签名题分 10 15 15 10 20 30 100
得分
考生注意事项:1、本试卷共4页,请查看试卷中是否有缺页或破损。

如有请报告以便更换。

2、使用A4答题纸,注意装订线。

一、单项选择题(从下列各题四个备选答案中选出一个正确答案,并将其
代号填在题前的括号内。

每小题1分,共10分)
( b )1.图像与灰度直方图间的对应关系是:
a.一一对应
b.多对一
c.一对多
d.都不对
( d )2. 下列算法中属于图象平滑处理的是:
a.Hough变换法
b.状态法
c.高通滤波
d. 中值滤波 ( c )3.下列算法中属于图象锐化处理的是:
a.局部平均法
b.最均匀平滑法
c.高通滤波
d. 中值滤波 ( d )4. 下列图象边缘增强算子中对噪声最敏感的是:
a.梯度算子
b.Prewitt算子
c.Roberts算子
d. Laplacian算子 ( b )5. 下列算法中属于点处理的是:
a.梯度锐化
b.二值化
c.傅立叶变换
d.中值滤波 ( d )6.下列算子中利用边缘灰度变化的二阶导数特性检测边缘的是:
a.梯度算子
b.Prewitt算子
c.Roberts算子
d. Laplacian算子 ( c )7.将灰度图像转换成二值图像的命令为:
a.ind2gray
b.ind2rgb
c.im2bw
d.ind2bw
( d )8.数字图像处理的研究内容不包括:
a.图像数字化
b.图像增强
c.图像分割
d.数字图像存储 ( d )9.对一幅100?100像元的图象,若每像元用,bit表示其灰度值,经霍夫曼编码后图象的压缩比为2:1,则压缩图象的数据量为:
a.2500bit
b.20000bit
c.5000bit
d.40000bit
( b )10.图像灰度方差说明了图像哪一个属性:
a.平均灰度
b.图像对比度
c.图像整体亮度
d.图像细节
第 1 页
二、填空题(每空1分,共15分)
l. 图像处理中常用的两种邻域是 4-邻域和 8-邻域。

2.图象平滑既可在空间域中进行,也可在频率域中进行。

3.常用的灰度内插法有最近邻元法、双线性内插法和三次内插法。

4. 低通滤波法是使高频成分受到抑制而让低频成分顺利通过,从而实现图像平滑。

5.Prewitt边缘检测算子对应的模板是和。

-1 -1 -1 -1 0 1
0 0 0 -1 0 1
1 1 1 -1 0 1
(不分先后)
6.图像压缩系统是有编码器和解码器两个截然不同的结构块组成的。

7.灰度直方图的纵坐标是该灰度出现的频率。

8.依据图象的保真度,图象编码可分为无失真(无损)编码和有失真(有损)编码两
种。

三、名词解释(每小题3分,共15分)
1.灰度直方图:
2.8-连通的定义:
3.中值滤波:
4.图像增强:
5.直方图均衡化:
四、判断改错题(下列说法是否正确,正确的就在题号前的括弧内打“?”,
错误的打“×”并改正。

每小题2分,共10分)
(?)1.灰度直方图能反映一幅图像各灰度级像元占图像的面积比。

(×)2.中值滤波是一种边缘增强算子。

(×)3.均值滤波器可用于锐化图像边缘。

(×)4.边缘检测属于图象增强。

(×)5.开运算是对原图先进行膨胀处理,后进行腐蚀的处理。

五、简答题(每小题5分,共20分)
1.图像锐化滤波的几种方法,
2.伪彩色增强和假彩色增强有何异同点,
第 2 页
3.简述Laplacian边缘检测算子和边缘增强算子的区别,
4.图像增强的目的是什么,
六、计算题、编程题(共30分,每小题分标在小题后) 1. 下列是一幅图像某一行中连续8个像元灰度值,采用1×3窗口对该行分别进行移动平均法和中值滤波法处理,计算输出结果。

(8分)
…0,1,0,1,6,6,5,6…
答:
采用局部(移动)平均法处理,输出的结果为
…0,0,0,2,2,6,6,4… (4分)
中值滤波法处理,输出结果为
…0,0,0,6,6,6,5… (4分)
2.对下列信号源符号进行Huffman编码,并计算其冗余度和压缩率。

(12分) 符号 a1 a2 a3 a4 a5 a6 概率 0.1 0.4 0.06 0.1 0.04 0.3
第 3 页
3.在matlab环境中,实现一幅图像的傅里叶变换和傅里叶反变换(将代码作为答案)。

(10)
解:MATLAB程序如下:
A=break(‘rice.tif’);
Imshow(A);
A2=fft(A);
A2=fftshift(A2);
Figure,imshow(log(abs(A2)+1),[0,10]); 第 4 页。

相关文档
最新文档