add segmentation result IO, improve height mapper (segments)