Selection with multiscale segmentation is the first work that we have done, which we believe has advanced the state of the art of selection and composition.
You first obtain a segmentation of the hierarchical image structure into pieces that are homogeneous, and for that you have a whole algorithm that I will not go into here.