Text this: On a supervised Lloyd algorithm for multilevel thresholding /