Lucid.Core.IterativeThresholdMainComponents

Find a threshold that segments the image into the given number of main components.