The set of all locations that converge to the same mode defines the basin of attraction of that mode.
The points which are in the same basin of attraction is associated with the same cluster. Figure 2
shows two examples of mean shift clustering on three dimensional data.