an implementation of the soft segment algorithm used in "data-driven image color theme enhancement"