Example.skimage.DistributeComponents

This task type distributes components by stretching space for an “exploded view”.

For each component calculate the centroid and move the object to a new centroid position. The centroids can either be distributed proportional (stretching the original relative positions), or equidistant (in fixed increments according to the component pixel value) along the Z axis.