Question: Problem 5 . Image Quantization and Dithering ( 2 0 points ) Consider the barbara.png image. Convert it to Grayscale using library function. Perform n

Problem 5. Image Quantization and Dithering
(20 points)
Consider the barbara.png image. Convert it to Grayscale using library function.
Perform n-bit uniform quantization. Accept 1=n=8 as a user input. Compute the
decision boundaries and the corresponding N=2^(n) representation levels. Display
the quantized image I_(Q). Compute the quantization error E=||I-I_(Q)||^(2) for each n
and display a plot of E versus n.
Perform dithering. Scale the input image pixels to 0,1 and add a zero-mean Gaus-
sian noise matrix with standard-deviation in 0.05,0.5. Perform n-bit quantiza-
tion on the resulting image and display the output. Report for different values of
standard-deviation.
 Problem 5. Image Quantization and Dithering (20 points) Consider the barbara.png

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!