General-purpose soft tissue segmentation from medical images