问题 问答题

试题六(15 分)阅读下列说明,回答问题 1 至问题3,将解答填入答题纸的对应栏内。【说明】当把一只小鸭图片(图A)放到一张背景图(图B)上时,背景图将被小鸭图片遮住一个矩形区域(图C)。利用程序设计语言处理图形图像数据,可以使图片上非小鸭的其他部分变成透明,使观察者不会感觉到小鸭图片遮住一个矩形区域。在编程之前,使用图像处理工具软件对小鸭图片进行处理。首先将原始的小鸭图片复制两份,其中一幅图片将其应该透明之处(小鸭的背景)设置为黑色(图D),另一幅图片将其非透明之处设置为黑色,其余地方(小鸭的背景)设置为白色(图E)。

【问题 2】(6 分)(1)图像处理中,灰度图像A 和B 能否直接进行逻辑运算?(2)图像处理中,灰度图像A 和B 能否直接进行算术运算?(3)请写出3 种最基本的用于图像处理的算术运算。

答案

参考答案:(1) 不能进行逻辑运算。(2) 可以进行算术运算。(3) 最基本的用于图像处理的算术运算包括加法、减法、乘法、除法。

完形填空
完形填空。    
         When I was 18,one morning, my father told me to drive him into a town ,about 18 miles away. I had
just learned to drive , so I__1___ with pleasure. First we came to the town. Then I took the car to a nearby garage (汽车修理厂) to have it ___2___and promised(答应) to pick Dad up at 4 p.m. Because I had a
few____3___ to spend ,I decided to go to the ___4___.However I became so interested in the films that I
forgot the ___5___.When the last film finished ,it was 6 o'clock.    
          I was afraid Dad would be ___6__and never let me drive again ,so I drove back ___7___ to meet
Dad and made an excuse for my being late. I’ll never forget __8__ he gave me .“I'm disappointed (失望的) that you feel you ___9___lie  (说谎) to me, Jake .I am angry ,not with you but with myself. I have failed
___10__ I have brought up (抚养) a son who can not even ____11___the truth to his own father .I am
going ___12____ home now and think seriously about where I have gone wrong all these years.”    
         Dad began walking along the road. I begged ___13___, telling him and drove___14___him for 18
miles ,at a speed of 5miles an hour .It was the most___15___lesson.I have never lied to him ever since.
( )1. A. said    
( )2. A. repaired  
( )3. A. weeks    
( )4. A. restaurant
( )5. A. time    
( )6. A. glad    
( )7. A. slowly    
( )8. A. the laugh    
( )9. A. will    
( )10. A. though    
( )11. A. talk    
( )12. A. drive    
( )13. A. by the way
( )14. A. behind  
( )15. A. difficult

B. agreed  
B. stopped  
B. days    
B. supermarket  
B. car    
B. angry  
B. quietly
B. the cry
B. have to  
B. if    
B. speak  
B. walk    
B. all the way    
B. before    
B. interesting 
                  

C. answered    
C. produced    
C. hours    
C. cinema      
C. garage    
C. kind      
C. easily    
C. the look    
C. would    
C. because    
C. say      
C. run      
C. in the same way
C. with      
C. unforgetful

D. replied            
D. locked              
D. minutes            
D. bookshop            
D. Place              
D. polite              
D. quickly            
D. the smile          
D. used to            
D. when                
D. tell                
D. ride                
D. in a different way  
D. in front of        
D. successful          
                        

单项选择题