Segmentation of 4 Objects/Phases. This script segments three objects according to the specified thresholds. If the threshold intervals are overlapping then object1 wins over obejct2 which wins over object3 which wins over object4. The values of the segmented objects can be set. With individual open distances thin layers of the objects can be removed before these are concatenated.