Figure 1:
Four steps for constructing the bag-of-words for image representation.