Auto-Context and Its Applications