Segmentation Based On Turning Points