selection of thresold

selection of thresold