当前位置:文档之家› 数字图像处理试卷往届试题参考

数字图像处理试卷往届试题参考

…………试卷装
订线………………装订
线内不要答题,不要填写考生信息………………试卷装订线…………姓









武汉理工大学考试试卷(A卷)
数字图像处理课程闭卷
时间120分钟,32学时,2学分,总分100分,占总评成绩70%2015年6月日
题号一二三四五六七八九十合计任课
教师满分10403020100
得分
本试卷共8页,采用双语命题,注意英文试题应该用英文回答,否则将被扣分。

一、填空题(每小题1分,共10分)
(1)We perceive electromagnetic energy having wavelengths in the range400-700nm as______________________.
(2)Number of pixels at each grey-level or in range of grey levels is called
________________.
(3)The primary colors can be added to produce the secondary colors of light,magenta
is red plus blue,cyan is green plus blue,and yellow is__________________.
(4)In CMYK color model,C means cyan,M means magenta,Y means yellow,and K means
_______.
(5)In HSI color model,hue is a color attribute that describes a pure color,
____________gives a measure of the degree to which a pure color is diluted by white light.
(6)形态学处理中最基本的运算是腐蚀与膨胀。

其中,___________通常在去除小颗粒以及消除目标物之间的粘连是非常有效的。

(7)人在区分颜色时常用的三种基本特征量为色调、饱和度和亮度。

其中,____________是与混合光谱中主要光波长相联系的,表示了感官上感受到的不同的颜色。

(8)常用的灰度插值法有最近邻法、____________________、三次内插法。

(9)对于“盐粉”噪声,采用逆谐波均值滤波器进行滤波,应该选择滤波器的阶数Q为_____________。

(10)在Matlab环境下,实现对图像进行中值滤波的滤波函数是____________。

得分
二、分析题(第1,2小题,每小题5分,第3,4,5小题,每小题10
得分
分,共40分)
1.When you enter a dark theater on a bright day,it takes an appreciable interval of time before you can see well enough to find an empty seat.Which of the visual processes is in this situation?
2.对于如下图像块:
1326
1234
2402
4223
请用下列sobel模版进行锐化处理,计算用模板处理除边界外的中间4个像素的结果值,要求写出计算过程。

-101
-202
-101
5.设某个图像为:
请完成:①求该图像的灰度直方图。

②对该图像进行直方图均衡化处理,写出过程和结果。

…………试卷装订线………………装订线内
不要答题,不要填写考生信息………………试卷装订线…………
三、计算题(每小题10分,共30分)
1.A 4×4,4bits/pixel original image passes through a distortion process,resulting in
a distorted image,as shown pute the mean absolute error (MAE),the mean squared error (MSE)and the peak signal-to-noise ratio (PSNR)between the original and the distorted images.
original image distorted image
得分
0107502912422610
3
9
15
2.A 4×4,4bits/pixel image passes through a point-wise intensity transformation given by
s=T(r)=αlog2(1+r)+β
where αand βare unknown parameters.Only a few pixels are available in the input and the output images,as shown below.(a)Find αand β.
(b)What’s the value of the pixel with the “?”mark in the output image.(c)What’s the value of the pixel with the “?”mark in the input image.
input image
output
image
3
15?1
3
5
118?
5
3.设图像矩阵为
I=
对其计算Huffman 编码,给出编码过程和码字,并计算平均码字长、信息熵、编码效率和压缩比。

33333331333333313
4444431345554313425243134555431344444313
3
3
3
3
3
3
1
四、程序设计题(本题20分,共2小题,每小题10分)
1、对下面的matlab程序段中加有标号(标号为(1)~(10))的10条语句,给予注释说明其作用。

(1)I=imread('lena.bmp');
figure,imshow(I);
(2)I1=fftshift(fft2(I));
(3)[M,N]=size(I1);
(4)n=2;d0=80;
(5)n1=floor(M/2);n2=floor(N/2);
for i=1:M
for j=1:N
(6)d=sqrt((i-n1)^2+(j-n2)^2);
(7)H=exp(((-1)*d/d0).^n);
(8)I2(i,j)=H*I1(i,j);
end
end
(9)I2=ifftshift(I2);
(10)I3=real(ifft2(I2));
figure,imshow(I3,[]);
2、用Matlab编写程序,完成如下功能。

(1)读取一幅RGB图像,并显示;
(2)取出其红色分量图像,并显示;
(3)对该红色分量图像,进行迭代法求阈值处理,求出其阈值,并显示阈值;
(4)以求出的阈值,对红色分量图像进行分割(二值化)处理,并显示分割之后的图像。

相关主题