Colour Gradient Based on Pixel Density of Overlaid Segmentations?

Hi Andras,

I am not terribly familiar with python (so after a few failed attempts) I used the method you mention under: Segment / BinaryLabelMap to numpy array.

Would this work for the problem?