Dynamic Thresholding Segmentation