top of page

Method

2. K-Means
3. Decolor
1. User input

User is prompted for number of clusters and iterations.

Input image

Use k-means to separate foreground and background using color as a feature for segmentation.​​

(Example image to the right.)

In original image, convert all pixels in largest cluster to grayscale.

bottom of page