I used the same grayscale image as in Problem #1, cameraman.tif. I used the same color image as in Problem #2, santosa.jpg.
Part a.
First we quantized the grayscale image to 4 bits using uniform thresholding.

Then we quantized each color plane of santosa.jpg to 4 bits using thresholding.
![]() |
![]() |
![]() |
| Original 8 Bit R | Original 8 Bit G | Original 8 Bit B |
![]() |
![]() |
![]() |
| 4 Bit R | 4 Bit G | 4 Bit B |

Part b.
First we quantized the grayscale image to 4 bits using Floyd-Steinberg.

Then we quantized each color plane of santosa.jpg to 4 bits using Floyd-Steinberg.
![]() |
![]() |
![]() |
| Original 8 Bit R | Original 8 Bit G | Original 8 Bit B |
![]() |
![]() |
![]() |
| 4 Bit R | 4 Bit G | 4 Bit B |
