Segmentation using thresholding using Python

A post was split to a new topic: Change segment color and opacity