UNAIDED: a PC system for binary and ternary segmentation analysis