Segmentation and dimension reduction by