use kmeans colour quantization to reduce colours, then split the image into its
unique colours. There is still a problem with reflections in the origina image
Merge branch 'master' of github.com:geniass/opencv-resistor