banner picture

Greg Twentyman

SLIC Image Segmentation

1 / 2
SLIC output
2 / 2
SLIC input

Last Release:

One afternoon I felt like implementing a javascript version of SLIC image segmentation so I started that. The input image is segmented based on colour and the resulting clusters are coloured with the values from the cluster centers. This project uses my edge detection implementation for initializing cluster centers.

The browser is admittedly not the best suited to handle image processing applications but I thought it would be neat.

This project is a work in progress and will be revisited when I find time. In addition to a few minor things, I still need to ensure connectivity of the clusters and maybe add a few sliders to adjust the parameters.

Browser version     Source