代写Lab Resit-INT 302: Image Processing代写Matlab编程

Lab Resit-INT 302: Image Processing

Introduction:

This assignment contains four lab tasks. The content covers image resolution, image enhancement, image transform, image compression, morphological operation. This lab assessment includes the programming code and the report. The programming code should be run successfully, and the results should be correct. Moreover, the code quality will also be considered, such as efficiency, comments, and robustness. The report should answer all questions in the tasks, and explain them clearly. It is recommended to add some conclusions about the whole lab.

Objectives:

Through the working in this lab, the students can achieve the learning outcomes A, B, C, D and E:

A: Understand the basic principles of digital image processing

B: Understand the techniques used in digital image processing.

C: Have an appreciation of the areas of applications for various image processing techniques, e.g., image enhancement, image transform, image compression and morphological operations.

D: Apply relevant image processing techniques to a given problem.

E: Have basic skills to develop image processing software.

Lab Tasks (100 marks):

Task 1 Image resolution. (20')

In this task, we use the monochrome image Lenna (i.e., lenna512.bmp) to do the following sub tasks, and let's call the original image Lenna as lo.

1. lo-> down-sampling to l with 1/2 size of lo (both horizontally and vertically) using mean value. First, describe your algorithm and implement it by yourself. Then, display it and compare to the original image. Finally, explain your founding in the report; (10')

2. li-> up-sampling to l' with the same size of lo using nearest neighbor interpolation.l First, describe your algorithm and implement it by yourself. Then, display it and compare to the original image. Finally, explain your founding in the report. (10')

Task 2 Image Enhancement. (20')

1. Describe the algorithm of histogram equalization, and implement this algorithm to enhance the contrast of the image (i.e., lenna512_low_dynomic_range.bmp) and display the enhanced image. you are not allowed to call matlab function directly (12')

2. Moreover, display the histograms of both original image and enhanced image, and explain your founding in the report. (8')

Task 3 Morphological operation (20')

Load the image tool.bmp as im_tool.

1. Extract the boundary of the image, and show it in the report. (6')

2. Do the operations of erosion, dilation, opening and closing. Please use the function of strel to create the structuring element (SE) with the shape of disk (You can set your preferred radius). Show the results after each operation and calculate the number of foreground pixels. (6')

3. Repeat the operation in the second task and show the results, and compare to the results of the second task, write your comment. (8').

Task 4 Image Transform. (20')

1. In the image transform, there are two basic factors of the transform. domain: basis and coefficients. For both 1-D DFT and 1-D DCT for image transform, show their expressions, then specify their basis and coefficients, respectively. (12')

2. Import the monochrome image "lenna512.bmp" as the reference image. Write the code to obtain its transformation results of the 2-D DCT and 2-D DFT and display them in the report. (8')

Task 5 Image Compression and Decompression. (20')

1. Implement the algorithm of Raster-scan DPCM (differential pulse code modulation) coding for an input image based on the following requirements: (10')

In the DPCM, the predictive function p(r,c)f(Block(r,c)) plays an important role. In this task, try to consider different block sizes (e.g., 2 Х2 or 3 X3) and different functions (e.g., average or weighted average).

For example, if the predicted position is the red pixel in Figure 1, then the 2x2 block contains pixels highlighted in white color (i.e., 3 pixels), and the 3x3 block contains the pixels highlighted in both white and blue color (i.e., 8 pixels).

With these neighboring pixels, you can directly average them or weighted average them to get the predicted value p(rc). In the weighted average method, you cand take the weights based on the pixel distance to the predicted position. Here, please use D4 distance, and the weight for the farthest pixels is 1, the weight for thed second farthest pixels is 2, the third one is 3, At the end, you should normalize the results by the summation of all weights.

In summary, you should implement four predictive functions by combination of two block sizes and two weighted methods. Once you get the prediction value p(r,c), you can calculate the difference by e(rc) =x(r,c)-p(r,c).

Use the "lenna512.bmp" as input and show the output of this function e(r.c). Hence, you should show five pictures, one original picture and four DPCM output of difference images. Note that the nearest neighbor pixel padding can be used for the boundary pixels.

Figure 1: Example of block size for prediction

2. Write code to calculate the entropy of input image and the output image of task

(1), respectively. From the view of entropy, which image is the easiest to be compressed? And Why? (10')

Lab Report

Write a short report which should contain a concise description of your results and observations. Include listings of the Matlab scripts that you have written. Describe each of the images that you were asked to display.

Report format: Single column; Fond size: #12, no more than 20 pages. Answer each question completely:

— Do not attach the code at the end of the report, just put the useful code underd each question

— The results maybe contain some figures, please add the index and title of each figure.

Submission deadline will be announced

— Electronic version to LM with a ZIP of all files

zip file name: INT302-Resit-Name-studentID.zip

One file with same file name of ZIP File: Report (with studentID, name, Lab title on the homepage)

One folder: codes and other materials. (I can run it directly)

Marking scheme

80%-100% Essentially complete and correct work.

60%-79% Shows understanding, but contains a small number of errors or gaps.

40%-59% Clear evidence of a serious attempt at the work, showing some understanding, but with important gaps.

20%-39% Scrappy work, bare evidence of understanding or significant work omitted.

<20% No understanding or little real attempt made.



热门主题

课程名

mktg2509 csci 2600 38170 lng302 csse3010 phas3226 77938 arch1162 engn4536/engn6536 acx5903 comp151101 phl245 cse12 comp9312 stat3016/6016 phas0038 comp2140 6qqmb312 xjco3011 rest0005 ematm0051 5qqmn219 lubs5062m eee8155 cege0100 eap033 artd1109 mat246 etc3430 ecmm462 mis102 inft6800 ddes9903 comp6521 comp9517 comp3331/9331 comp4337 comp6008 comp9414 bu.231.790.81 man00150m csb352h math1041 eengm4100 isys1002 08 6057cem mktg3504 mthm036 mtrx1701 mth3241 eeee3086 cmp-7038b cmp-7000a ints4010 econ2151 infs5710 fins5516 fin3309 fins5510 gsoe9340 math2007 math2036 soee5010 mark3088 infs3605 elec9714 comp2271 ma214 comp2211 infs3604 600426 sit254 acct3091 bbt405 msin0116 com107/com113 mark5826 sit120 comp9021 eco2101 eeen40700 cs253 ece3114 ecmm447 chns3000 math377 itd102 comp9444 comp(2041|9044) econ0060 econ7230 mgt001371 ecs-323 cs6250 mgdi60012 mdia2012 comm221001 comm5000 ma1008 engl642 econ241 com333 math367 mis201 nbs-7041x meek16104 econ2003 comm1190 mbas902 comp-1027 dpst1091 comp7315 eppd1033 m06 ee3025 msci231 bb113/bbs1063 fc709 comp3425 comp9417 econ42915 cb9101 math1102e chme0017 fc307 mkt60104 5522usst litr1-uc6201.200 ee1102 cosc2803 math39512 omp9727 int2067/int5051 bsb151 mgt253 fc021 babs2202 mis2002s phya21 18-213 cege0012 mdia1002 math38032 mech5125 07 cisc102 mgx3110 cs240 11175 fin3020s eco3420 ictten622 comp9727 cpt111 de114102d mgm320h5s bafi1019 math21112 efim20036 mn-3503 fins5568 110.807 bcpm000028 info6030 bma0092 bcpm0054 math20212 ce335 cs365 cenv6141 ftec5580 math2010 ec3450 comm1170 ecmt1010 csci-ua.0480-003 econ12-200 ib3960 ectb60h3f cs247—assignment tk3163 ics3u ib3j80 comp20008 comp9334 eppd1063 acct2343 cct109 isys1055/3412 math350-real math2014 eec180 stat141b econ2101 msinm014/msing014/msing014b fit2004 comp643 bu1002 cm2030
联系我们
EMail: 99515681@qq.com
QQ: 99515681
留学生作业帮-留学生的知心伴侣!
工作时间:08:00-21:00
python代写
微信客服:codinghelp
站长地图