RE-QUANTIZE an Image with Matlab?

rickymartin

New member
(1) Read the image into MATLAB and quantize it uniformly into 8 levels. Evaluate the mean squared error between the original image and the quantized image. Turn in the quantized image.
(2) Generate random noise uniformly distributed over [-d/2, d/2], where d is the step size for quantization in part (1), and add this noise to the original image to get a new (dithered) image. Quantize this dithered image uniformly into 8 levels. Evaluate the mean squared error between the original image and the quantized image. Turn in the quantized image.
 
Back
Top