Add "average segment color" method for label2rgb

This is motivated by the image produced in the example segmentation of #1031.