An introduction to object recognition : Selected algorithms for a wide variety of applications.