Understanding bag-of-words model: a statistical framework
scalable recognition with a vocabulary tree .