113proj_report

113proj_report - Thomas Clapp 903772133 Disc 1A 4.1.2.a 4.1.2.b The range of pixel intensity of the birds image is 15 to 255 and the range of pixel

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
Thomas Clapp 903772133 Disc 1A 4.1.2.a.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
4.1.2.b. The range of pixel intensity of the birds image is 15 to 255 and the range of pixel intensity of the building image is 0 to 255. In birds, there are both high and low frequencies. The low frequencies occur where there are homogeneous color shades without fine detail, for example the gray areas in the background or the beaks. The high frequencies occur where there is a great deal of small detail, for example the very detailed body feathers of the birds are likely to be lost in high scale factors of compression. There are also high and low frequencies in the building image. There are low frequencies in areas of solid color like the sky in the upper right, the sidewalks around the pools, and the water in the pools. There are high frequencies mainly in the trees in the upper corner and the railing on the building. 4.1.2.c. The Birds image is 512x768 pixels and has a total of 393,216 pixels. The Building image is 512x512 pixels and has a total of 262,144 pixels. 4.2.4.a. T (0,0) is the sum of all the pixel intensities in the image divided by the square root of the total number of pixels. This value represents the average pixel intensity of the block, whereas the higher values of u and v somehow represent the variation from that averaged value. 4.2.4.b. The quantization values in the table are different because by making the values in the upper left side smaller, we are establishing a lower threshold value which thus allows us to preserve the lower frequency variation from the average pixel intensity. Although ideally we would like to preserve both low and high frequency details, the lower frequency ones are more important because they are more noticeable to the human eye. When compressing data, there is a tradeoff between preserving details and saving space, and this quantization table allows a good balance without sacrificing too much detail. 4.2.4.c. I took the 1-D DCT of the columns and then did it again for the transpose of the result, which basically took the 1-D DCT of the rows and then transposed it again to compare with the result of the 2-D DCT. I then did the same thing for the IDCT but I only did it for Q = 1. birdsdct1 = blkproc(birdsMatrix, [8 8], @dct); birdsdct1 = blkproc(transpose(birdsdct1), [8 8], @dct); birdsdct1 = transpose(birdsdct1); buildingdct1 = blkproc(buildingMatrix, [8 8], @dct); buildingdct1 = blkproc(transpose(buildingdct1), [8 8], @dct); buildingdct1 = transpose(buildingdct1); isequal(birdsdct, birdsdct1); % returns true isequal(buildingdct, buildingdct1); % returns true birds1idct = blkproc(birdsinv1, [8 8], @dct); birds1idct = blkproc(transpose(birds1idct), [8 8], @dct); birds1idct = transpose(birds1idct); building1idct = blkproc(buildinginv1, [8 8], @dct); building1idct = blkproc(transpose(building1dct), [8 8], @dct);
Background image of page 2
building1idct = transpose(building1dct); isequal(birds1idct, birdsidct1); % returns true isequal(building1idct, buildingidct1); % returns true 4.2.4.d. The stars (above) represent the building distortion and the circles (below) represent the
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/07/2011 for the course EE 113 taught by Professor Walker during the Spring '08 term at UCLA.

Page1 / 17

113proj_report - Thomas Clapp 903772133 Disc 1A 4.1.2.a 4.1.2.b The range of pixel intensity of the birds image is 15 to 255 and the range of pixel

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online