Segmenter now handles multiple color spaces, added preprocessing