Colour Histogram Algorithms for Visual Robot Control