Export segmentation to labelmap using python

2 posts were split to a new topic: Different segmentation export function produce different results