Question: Question 4: Image Dithering (15 points) Let's say that we have an original 12x8 image represented as 8 bits per pixel. In the normalized representation

Question 4: Image Dithering (15 points) Let's say that we have an original 12x8 image represented as 8 bits per pixel. In the normalized representation shown below, assume that 0 corresponds to white and 9 corresponds to black. 1 2 3 4 5 6 7 8 9 0 1 2 0 1 2 3 4 5 6 7 8 90 1 9 0 1 2 3 4 5 6 7 8 9 0 8 9 0 1 2 3 4 5 6 7 8 9 7 8 9 0 1 2 3 4 5 6 7 8 6 7 8 9 0 1 2 3 4 5 6 7 5 6 7 8 9 0 1 2 3 4 5 6 4 5 6 7 8 9 0 1 2 3 4 5 O Answer the following questions You may want to code/script a process to generate the final outputs, but only final outputs are expected. Also, we have asked you to plot this 12x8 image block as a gray color image, and its processed outputs as binary black/white images. For reasons of visible clarity (because a 12x8 image block is very small) you may want to show a zoomed or magnified picture. Plot the image as an 8-bit gray scale map, that is - create a 12x8 image to show the original gray image block. (2 points) If you thresholded the above 12x8 image block such that all values below 4.5 were 0 and above 4.5 were 9, how does your output image B/W block look? Plot an image (3 points) We can create a better binary image output by using a dithering matrix. Compute the binary output of a dithering operation on the gray level 12x8 image using the dithering matrix D given below. Assume that the image top left coordinate indexes are [0, 0]. Show a graphical binary image plot of the dithered output. (5 points) (6 8 47 D= 1 0 3 . 5 2 7 What if the image block's top left coordinate indexes start with [1, 1]. Show a graphical binary image plot of the dithered output. (5 points) Question 4: Image Dithering (15 points) Let's say that we have an original 12x8 image represented as 8 bits per pixel. In the normalized representation shown below, assume that 0 corresponds to white and 9 corresponds to black. 1 2 3 4 5 6 7 8 9 0 1 2 0 1 2 3 4 5 6 7 8 90 1 9 0 1 2 3 4 5 6 7 8 9 0 8 9 0 1 2 3 4 5 6 7 8 9 7 8 9 0 1 2 3 4 5 6 7 8 6 7 8 9 0 1 2 3 4 5 6 7 5 6 7 8 9 0 1 2 3 4 5 6 4 5 6 7 8 9 0 1 2 3 4 5 O Answer the following questions You may want to code/script a process to generate the final outputs, but only final outputs are expected. Also, we have asked you to plot this 12x8 image block as a gray color image, and its processed outputs as binary black/white images. For reasons of visible clarity (because a 12x8 image block is very small) you may want to show a zoomed or magnified picture. Plot the image as an 8-bit gray scale map, that is - create a 12x8 image to show the original gray image block. (2 points) If you thresholded the above 12x8 image block such that all values below 4.5 were 0 and above 4.5 were 9, how does your output image B/W block look? Plot an image (3 points) We can create a better binary image output by using a dithering matrix. Compute the binary output of a dithering operation on the gray level 12x8 image using the dithering matrix D given below. Assume that the image top left coordinate indexes are [0, 0]. Show a graphical binary image plot of the dithered output. (5 points) (6 8 47 D= 1 0 3 . 5 2 7 What if the image block's top left coordinate indexes start with [1, 1]. Show a graphical binary image plot of the dithered output. (5 points)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
