I selected a color picture of my advisor, Dr. Fadil Santosa
I read in the picture using MATLAB's "imread" function: A=imread('santosa.jpg'). Then I broke the image into 3 separate pictures using MATLAB's "imwrite" function. For example, the first picture was made by the command: imwrite(A(:,:,1),'santosa1.jpg','jpg').
![]() |
![]() |
![]() |
| R | G | B |
Part a.
Binarize each color plane separately using thresholding. Use the same source code as in Problem
#1.
![]() |
![]() |
![]() |
| R | G | B |

Part b.
Binarize each color plane separately using Floyd-Steinberg. Use the same source code as in Problem
#1.
![]() |
![]() |
![]() |
| R | G | B |
