export labelImage, labelImageWithBackground for uint32 pixel type

This is useful for a dense relabeling of an already given
segmentation.