This ImageJ plugin segments the image in classes by thresholding. It uses the same algorithm found in Otsu Thresholding, but was adapted to output more than 2 classes out of the process.