多媒体技术课后题.ppt
《多媒体技术课后题.ppt》由会员分享,可在线阅读,更多相关《多媒体技术课后题.ppt(102页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、 Ch3 Graphics and Image Data Representations1.Briefly explain why we need to be able to have less than 24-bit color and why this makes for a problem.Generally,what do we need to do to adaptively transform 24-bit color values to 8-bit ones?Answer:May not be able to handle such large file sizes or not
2、 have 24-bit displays.The colors will be somewhat wrong,however.We need to cluster color pixels so as to best use the bits available to be as accurate as possible for the colors in an image.In more detail:variance minimization quantizationvmquant.m Minimum variance quantization allocates more of the
3、 available colormap entries to colors that appear frequently in the input image and allocates fewer entries to colors that appear infrequently.Therefore if there are for example many reds,as in a red apple,there will be more resolution in the red part of the color cube.An excellent implementation of
4、 this idea is Wus Color Quantizer(see Graphics Gems vol.II,pp.126-133).2.Suppose we decide to quantize an 8-bit grayscale image down to just 2 bits of accuracy.What is the simplest way to do so?What ranges of byte values in the original image are mapped to what quantized values?Answer:0 to 6364 to 1
5、27128 to 191192 to 255Then reconstruction values should be taken as the middle of these ranges;i.e.,32961602243.Suppose we have a 5-bit grayscale image.What size of ordered dither matrix do we need to display the image on a 1-bit printer?Answer:25=32 levels=n2+1 with n=6;therefore need D(6)4.Suppose
6、 we have available 24 bits per pixel for a color image.However,we notice that humans are more sensitive to R and G than to B in fact,1.5 times more sensitive to R or G than to B.How could we best make use of the bits available?Answer:ratio is 3:3:2,so use bits 9:9:6 for R:G:B.5.At your job,you have
7、decided to impress the boss by using up more disk space for the companys grayscale images.Instead of using 8 bits per pixel,youd like to use 48 bits per pixel in RGB.How could you store the original grayscale images so that in the new format they would appear the same as they used to,visually?Answer
8、:48 bits RGB means 16 bits per channel:so re-store the old ints,which were 2 8,as new ints 2 16.But then the new values have to be created by multiplying the old values by 2 8,so that e.g.a mid-gray is still a mid-gray.As well,have to duplicate the old gray into all three of R,G,B.6.For the color LU
9、T problem,try out the median-cut algorithm on a sample image.Explain briefly why it is that this algorithm,carried out on an image of red apples,puts more color gradation in the resulting 24-bit color image where it is needed,among the reds.7.Write down an algorithm(pseudocode)for calculating a colo
10、r histogram for RGB data.Answer:int hist256256256;image is an appropriate struct with int fields red,green,bluefor i=0.(MAX_Y-1)for j=0.(MAX_X-1)R=imagexy.red;G=imagexy.green;B=imagexy.blue;histRGB+;Ch4 Color in Image and VideoExercise 3 1.Consider the following set of color-related terms:(a)wavelen
11、gth(b)color level(c)brightness(d)whitenessHow would you match each of the following(more vaguely stated)characteristics to each of the above terms?(a)luminance)brightness(b)hue)wavelength(c)saturation)whiteness(d)chrominance)color level2.What color is outdoor light?For example,around what wavelength
12、 would you guess the peak power is for a red sunset?For blue sky light?Answer:450 nm,650 nm.3.(a)Suppose images are not gamma corrected by a camcorder.Generally,how would they appear on a screen?Answer:Too dark at the low-intensity end.(b)What happens if we artificially increase the output gamma for
13、 stored image pixels?(We can do this in Photoshop.)What is the effect on the image?Answer:Increase the number of bright pixels we increase the number of pixels that map to the upper half of the output range.This creates a lighter image.and incidentally,we also decrease highlight contrast and increas
14、e contrast in the shadows.Ch5 Fundamental Concepts in Video1.NTSC video has 525 lines per frame and 63.6 sec per line,with 20 lines per field of vertical retrace and 10.9 sec horizontal retrace.(a)Where does the 63.6 sec come from?Answer:(b)Which takes more time,horizontal retrace or vertical retrac
15、e?How much more time?Answer:2.Which do you think has less detectable flicker,PAL in Europe or NTSC is North America?Justify your conclusion.Answer:PAL could be better since more lines,but is worse because of fewer frames/sec.3.Sometimes the signals for television are combined into fewer than all the
16、 parts required for TV transmission.(a)Altogether,how many and what are the signals used for studio broadcast TV?Answer:5R,G,B,audio,sync;can say“blanking”instead,too.(b)How many and what signals are used in S-Video?What does S-Video stand for?Answer:Luminance+chrominance=2+audio+sync=4Separated vid
17、eo(c)How many signals are actually broadcast for standard analog TV reception?What kind of video is that called?Answer:1Composite4.One sometimes hears that the old Betamax format for videotape,which competed with VHS and lost,was actually a better format.How would such a statement be justified?Answe
18、r:Betamax has more samples per line:500,as opposed to 240.5.We dont see flicker on a workstation screen when displaying video at NTSC frame rate.Why do you think this might be?Answer:NTSC video is displayed at 30 frames per sec,so flicker is possibly present.Nonetheless,when video is displayed on a
19、workstation screen the video buffer is read and then rendered on the screen at a much higher rate,typically the refresh rate 60 to 90 Hz so no flicker is perceived.(And in fact most display systems have double buffers,completely removing flicker:since main memory is much faster than video memory,kee
20、p a copy of the screen in main memory and then when we this buffer update is complete,the whole buffer is copied to the video buffer.)6.Digital video uses chroma subsampling.What is the purpose of this?Why is it feasible?Answer:Human vision has less acuity in color vision than it has in black and wh
21、iteone can distinguish close black lines more easily than colored lines,which soon are perceived just a mass without texture as the lines move close to each other.Therefore,it is acceptable perceptually to remove a good deal of color information.In analog,this is accomplished in broadcast TV by simp
22、ly assigning a smaller frequency bandwidth to color than to black and white information.In digital,we“decimate”the color signal by subsampling(typically,averaging nearby pixels).The purpose is to have less information to transmit or store.7.What are the most salient differences between ordinary TV a
23、nd HDTV?Answer:More pixels,and aspect ratio of 16/9 rather than 4/3.What was the main impetus for the development of HDTV?Immersion “being there”.Good for interactive systems and applications such as virtual reality.8.What is the advantage of interlaced video?What are some of its problems?Answer:Pos
24、itive:Reduce flicker.Negative:Introduces serrated edges to moving objects and flickers along horizontal edges.9.One solution that removes the problems of interlaced video is to de-interlace it.Why can we not just overlay the two fields to obtain a de-interlaced image?Suggest some simple de-interlaci
25、ng algorithms that retain information from both fields.Answer:The second field is captured at a later time than the first,creating a temporal shift between the odd and even lines of the image.The methods used to overcome this are basically two:non-motion compensated and motion compensated de-interla
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 多媒体技术 课后
限制150内