Lucid.Core.SplitPercentiles

Splits a mask into two parts based on percentiles. For example 60% inner volume, 40% outer volume.

Instead of the volume, the area of cross-sections of each Z slice can be used. For example 60% inner area, 40% outer area.