Highlights
Load your image in [red green blue] matrix format.
In this question you will investigate colour downsampling and the effect of quantising the DCT.
a) Create functions to transform the picture from [R G B] to [Y Cb Cr] and vice versa. Verify that these functions work as expected.
b) Display the Y, Cb and Cr colour planes. Verify that your eye is more sensitive to brightness than colour (your results should be similar to those in the lecture notes)
c) Implement chrominance downsampling, including 2h1v, 2h2v and 4h4v. Comment on the picture quality. We will now consider the Discrete Cosine Transformation. For this section, we will only consider Luminance, so discard the Chrominance planes and only consider Y.
d) Clip the Y plane to a multiple of (8x8) pixel blocks.
e) Taking each 8x8 block in turn, perform a 2D DCT transformation.
f) Using the quantisation matrix Q (given in notes), quantise your DCT.
g) Now perform the inverse DCT on your quantised matrix (remember to multiply by Q!) and reconstruct your image. Display the picture and comment on the image quality (as you see it)
h) Repeat f and g, using Qx4.
Note: For d-h, your code will be more efficient if you perform the transformation, quantisation and inverse transformation all at once on an 8x8 block. There is no need to store the entire image in the DCT domain.
This IT Assignment has been solved by our IT Experts at My Uni Papers. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.
Be it a used or new solution, the quality of the work submitted by our assignment Experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.
© Copyright 2025 My Uni Papers – Student Hustle Made Hassle Free. All rights reserved.