Added methods for inspecting colours of the image around an edge. Tinkered with the segmenter some more.